|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DistributedObject
Base interface for all distributed objects.
All distributed objects are not garbage collectable unless destroy() is called first.
Note: Failure to destroy after you are done using a distributed object will lead to memory leaks.
IMap,
IQueue,
MultiMap,
ITopic,
ILock,
IExecutorService,
TransactionalMap,
TransactionalQueue,
TransactionalMultiMap| Method Summary | |
|---|---|
void |
destroy()
Destroys this object cluster-wide. |
Object |
getId()
Deprecated. use getName() instead |
String |
getName()
Returns the unique name for this DistributedObject. |
String |
getPartitionKey()
Returns the key of the partition that this DistributedObject is assigned to. |
String |
getServiceName()
Returns the service name for this object. |
| Method Detail |
|---|
@Deprecated Object getId()
getName() instead
String getPartitionKey()
IAtomicLong. For a partitioned data structure like an IMap,
the returned value will not be null, but otherwise undefined.
String getName()
String getServiceName()
void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||