H - The type of the handle.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 and Description |
|---|---|
void |
flush(H aHandle)
Flushes the component identified by the given handle.
|
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 IOException, UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle - The handle identifying the component.IOException - in case flushing fails.UnsupportedHandleOperationRuntimeException - in case the reference
of the handle does not support the requested operation.UnknownHandleRuntimeException - Thrown in case the handle is
unknown (there is none reference for this handle).IllegaleHandleStateChangeRuntimeException - Thrown in case a state
change is not possible due to the current state the referenced
component is in.Copyright © 2017. All rights reserved.