T - type of DistributedPrimitivepublic abstract class Synchronous<T extends AsyncPrimitive> extends Object implements SyncPrimitive
DistributedPrimitive.StatusDEFAULT_OPERATION_TIMEOUT_MILLIS| Constructor and Description |
|---|
Synchronous(T primitive) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the primitive.
|
void |
destroy()
Purges state associated with this primitive.
|
String |
name()
Returns the name of this primitive.
|
PrimitiveType |
primitiveType()
Returns the type of primitive.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasyncaddStatusChangeListener, removeStatusChangeListener, statusChangeListenerspublic Synchronous(T primitive)
public String name()
DistributedPrimitivename in interface DistributedPrimitivepublic PrimitiveType primitiveType()
DistributedPrimitiveprimitiveType in interface DistributedPrimitivepublic void destroy()
SyncPrimitiveImplementations 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.
destroy in interface SyncPrimitivepublic void close()
SyncPrimitiveclose in interface SyncPrimitiveCopyright © 2013–2018. All rights reserved.