Flushable
CompositeComponent
, CompositeComponent.ExtendedCompositeComponent<CTX,CON>
, Flushable.FlushBuilder<B>
CompositeComponentImpl
, CompositeComponentImpl.ExtendedCompositeComponentImpl
public interface Flushable extends Flushable
Flushable
interface to lift it onto the component's layer.
ATTENTION: When implementing flush functionality, use this Flushable
,
though when testing for reset functionality, use Flushable
(instanceof
)!
Modifier and Type | Interface | Description |
---|---|---|
static interface |
Flushable.FlushBuilder<B extends Flushable.FlushBuilder<B>> |
The Interface FlushBuilder.
|
Modifier and Type | Method | Description |
---|---|---|
void |
flush() |
|
default void |
flushUnchecked() |
Flushes the component by calling
flush() without you to require
catching a OpenException . |
default boolean |
isFlushable() |
Determines whether the implementing instance can safely be flushed.
|
void flush() throws OpenException
flush
in interface Flushable
OpenException
default void flushUnchecked()
flush()
without you to require
catching a OpenException
.OpenException.OpenRuntimeException
- encapsulates the cause and is thrown upon
encountering a OpenException
exceptiondefault boolean isFlushable()
flush()
would result in an
OpenException
exception to be thrown.flush()
can be called without throwing an
OpenException
.Copyright © 2018. All rights reserved.