Schnittstelle GroupCloseable
- Alle Superschnittstellen:
AutoCloseable
,Closeable
,CloseStateRequestable
- Alle bekannten Unterschnittstellen:
IBaseEndPoint
,IDataAdapter
,IDataAdapter
,IDataAndSchemaAdapter
,IDataReader
,IDataWriter
,IEndPoint
,IEndPoint
,IEndPoint
,IResettableChangeSaver
,IResourcePool<R>
,ISchemaAdapter
,ISchemaAdapter
,ISchemaAdapter
,ISchemaReader
,ISchemaReader
,ISchemaWriter
,ISchemaWriter
,IServer
,IServer
,IServer
,IServer
,ISqlConnection
- Alle bekannten Implementierungsklassen:
BackendClient
,BaseDataAdapter
,BaseDataAndSchemaAdapter
,BaseEndPoint
,BaseServer
,BaseServer
,BaseServer
,BaseServer
,BaseWebClient
,Client
,Column
,DataAdapter
,DataAdapter
,DataAdapter
,DataAndSchemaAdapter
,DataReader
,DataReader
,DataWriter
,DataWriter
,EndPoint
,EndPoint
,EndPoint
,FrontendClient
,LocalEndPoint
,LocalEndPoint
,LocalEndPoint
,LocalServer
,LocalServer
,LocalServer
,LocalServer
,MsSqlConnection
,MsSqlDataAdapter
,MsSqlDataAdapter
,MsSqlDataAndSchemaAdapter
,MsSqlSchemaAdapter
,MsSqlSchemaAdapter
,MsSqlSchemaAdapter
,NetEndPoint
,NetEndPoint
,NetEndPoint
,NodeDataAdapter
,NodeSchemaAdapter
,ResourcePool
,SchemaAdapter
,SchemaAdapter
,SchemaAdapter
,SchemaAdapter
,SchemaReader
,SchemaReader
,SchemaWriter
,SchemaWriter
,SchemaWriter
,Server
,Server
,Server
,Server
,SocketEndPoint
,SqlConnection
,SqlConnectionPool
,SslServer
,SslServer
,SslServer
,SslServer
,WebClient
,WrapperResource
,WrapperSqlConnection
- Version:
- 2020-07-05
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault void
close()
Closes the currentCloseable
.default void
createCloseDependencyTo
(GroupCloseable element) Creates a close dependency between the currentGroupCloseable
and the given element.default boolean
isClosed()
void
Lets the currentGroupCloseable
note a close.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.CloseStateRequestable
isOpen
-
Methodendetails
-
close
default void close()Closes the currentCloseable
.- Angegeben von:
close
in SchnittstelleAutoCloseable
- Angegeben von:
close
in SchnittstelleCloseable
-
createCloseDependencyTo
Creates a close dependency between the currentGroupCloseable
and the given element. When aGroupCloseable
is closed, all elements, the currentGroupCloseable
has a close dependency to, will be closed too and vice versa.- Parameter:
element
-- Löst aus:
RuntimeException
- if the currentGroupCloseable
is already closed.RuntimeException
- if the currentGroupCloseable
has already a close dependency to the given element.
-
getStoredCloseController
ICloseController getStoredCloseController()- Gibt zurück:
- the
ICloseController
of the currentGroupCloseable
.
-
isClosed
default boolean isClosed()- Angegeben von:
isClosed
in SchnittstelleCloseStateRequestable
- Gibt zurück:
- true if the current
CloseStateRequestable
is closed.
-
noteClose
void noteClose()Lets the currentGroupCloseable
note a close.
-