Skip to content

Commit

Permalink
docs(engine): explicitly state resources will be closed
Browse files Browse the repository at this point in the history
  • Loading branch information
npepinpe committed Sep 23, 2022
1 parent 135ed4e commit 5764005
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ interface Builder {
* io.zeebe.containers.ZeebeContainer}
*/
<T extends GenericContainer<T> & ZeebeGatewayNode<T> & ZeebeBrokerNode<T>>
Builder withContainer(final T container);
Builder withContainer(@WillClose final T container);

/**
* Sets the given cluster to be used as engine(s)/gateway(s).
Expand All @@ -111,7 +111,7 @@ interface Builder {
* @param cluster the cluster to wrap
* @return itself for chaining
*/
Builder withCluster(final ZeebeCluster cluster);
Builder withCluster(@WillClose final ZeebeCluster cluster);

/**
* Sets the idle period of the engine, used when calling {@link
Expand Down

0 comments on commit 5764005

Please sign in to comment.