public abstract class AbstractRegistration extends Object implements Registration
Constructor and Description |
---|
AbstractRegistration() |
Modifier and Type | Method and Description |
---|---|
protected MoreObjects.ToStringHelper |
addToStringAttributes(MoreObjects.ToStringHelper toStringHelper) |
void |
close()
Unregisters the object.
|
boolean |
isClosed()
Query the state of this registration.
|
boolean |
notClosed()
Query the state of this registration.
|
protected abstract void |
removeRegistration()
Remove the state referenced by this registration.
|
String |
toString() |
protected abstract void removeRegistration()
public final boolean isClosed()
!notClosed()
.public final boolean notClosed()
!isClosed()
.public final void close()
Registration
close
in interface AutoCloseable
close
in interface Registration
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper toStringHelper)
Copyright © 2020 OpenDaylight. All rights reserved.