public interface SyncPrimitive extends DistributedPrimitive
DEFAULT_OPERATION_TIMEOUT_MILLIS| Modifier and Type | Method and Description |
|---|---|
AsyncPrimitive |
async()
Returns the underlying asynchronous primitive.
|
void |
close()
Closes the primitive.
|
default void |
delete()
Purges state associated with this primitive.
|
addStateChangeListener, name, protocol, removeStateChangeListener, typedefault void delete()
Implementations can override and provide appropriate clean up logic for purging any state state associated with the primitive. Whether modifications made within the destroy method have local or global visibility is left unspecified.
void close()
AsyncPrimitive async()
Copyright © 2013–2018. All rights reserved.