H - The type of the handle.CompositeComponentHandle<H,REF>public interface FlushHandle<H>
FlushHandle interface defines those methods related to the handle
based flush operation.
The handle reference requires the Flushable interface to be
implemented.
| Modifier and Type | Method | Description |
|---|---|---|
void |
flush(H aHandle) |
Flushes the component identified by the given handle.
|
default void |
flushUnchecked(H aHandle) |
Flushes the component by calling
flush(Object) without you to
require catching a OpenException. |
boolean |
hasFlush(H aHandle) |
Determines whether the handle reference provides flushting by
implementing the
Flushable interface. |
boolean hasFlush(H aHandle) throws UnknownHandleRuntimeException
Flushable interface.aHandle - The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException - Thrown in case the handle is
unknown (there is none reference for this handle).void flush(H aHandle) throws OpenException, UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle - The handle identifying the component.OpenException - in case flushing fails.UnknownHandleRuntimeException - Thrown in case the handle is
unknown (there is none reference for this handle).UnsupportedHandleOperationRuntimeException - in case the reference
of the handle does not support the requested operation.IllegalHandleStateChangeRuntimeException - Thrown in case a state
change is not possible due to the current state the referenced
component is in.default void flushUnchecked(H aHandle)
flush(Object) without you to
require catching a OpenException.aHandle - The handle identifying the component.org.refcodes.exception.HiddenException - encapsulates the cause and is thrown upon
encountering a OpenException exceptionCopyright © 2018. All rights reserved.