Interface Registration
-
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
ListenerRegistration<T>
,ObjectRegistration<T>
,SchemaListenerRegistration
,SchemaSourceRegistration<T>
,YangTextSchemaSourceRegistration
- All Known Implementing Classes:
AbstractListenerRegistration
,AbstractObjectRegistration
,AbstractRegistration
,AbstractSchemaListenerRegistration
,AbstractSchemaSourceRegistration
,AbstractYangTextSchemaSourceRegistration
,NoOpListenerRegistration
,NoOpObjectRegistration
public interface Registration extends AutoCloseable
Class representing a registration. Such a registration is a proper resource and should be cleaned up when no longer required.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Unregisters the object.
-
-
-
Method Detail
-
close
void close()
Unregisters the object. This operation is required not to invoke blocking operations. Implementations which require interaction with outside world must provide guarantees that any work is done behind the scenes and the unregistration process looks as if it has already succeeded once this method returns.- Specified by:
close
in interfaceAutoCloseable
-
-