T - type of DistributedPrimitivepublic abstract class Synchronous<T extends AsyncPrimitive> extends Object implements SyncPrimitive
DEFAULT_OPERATION_TIMEOUT_MILLIS| Constructor and Description |
|---|
Synchronous(T primitive) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the primitive.
|
void |
delete()
Purges state associated with this primitive.
|
String |
name()
Returns the name of this primitive.
|
PrimitiveProtocol |
protocol()
Returns the primitive protocol.
|
PrimitiveType |
type()
Returns the type of primitive.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasyncaddStateChangeListener, removeStateChangeListenerpublic Synchronous(T primitive)
public String name()
DistributedPrimitivename in interface DistributedPrimitivepublic PrimitiveType type()
DistributedPrimitivetype in interface DistributedPrimitivepublic PrimitiveProtocol protocol()
DistributedPrimitiveprotocol in interface DistributedPrimitivepublic void delete()
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.
delete in interface SyncPrimitivepublic void close()
SyncPrimitiveclose in interface SyncPrimitiveCopyright © 2013–2018. All rights reserved.