public interface Closable
Modifier and Type | Interface and Description |
---|---|
static interface |
Closable.CloseAutomaton
The
Closable.CloseAutomaton interface defines those methods related to the
closing of connection(s) life-cycle. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the component's connection(s).
|
void close() throws CloseException
CloseException
as
upon close we may have to do things like flushing buffers which can fail
(and would otherwise fail unhandled or even worse unnoticed).CloseException
- in case closing or pre-closing (flushing) fails.Copyright © 2016. All rights reserved.