ContainerOpener.ContainerFuture

public static interface ContainerOpener.ContainerFuture

An object that will return a Container. The get() method will block until a Container is available, and will then return the Container. The blocking period is limited, see openContainer(TagManager, String, ContainerOpener.OpenType, Long) for more details.

Public Method Summary

abstract Container
get()
abstract boolean
isDone()

Public Methods

public abstract Container get ()

Waits for the container to be available and returns the requested container. This method will block until the container is available.

public abstract boolean isDone ()

Returns whether the container is available. This container could be the default container. To check if it is the default container, use isDefault().

Returns
  • true if the container is available. Returns false if get() will block and wait for the container to be available.