Package | Description |
---|---|
groovyx.gpars.actor |
This package holds classes forming the public actor API.
|
groovyx.gpars.serial |
This package holds classes used for actor identification in the network.
|
Modifier and Type | Method and Description |
---|---|
protected RemoteHandle |
Actor.createRemoteHandle(SerialHandle handle,
SerialContext host) |
Constructor and Description |
---|
Actor.MyRemoteHandle(SerialHandle handle,
SerialContext host,
DataflowExpression<java.lang.Object> joinLatch) |
Modifier and Type | Class and Description |
---|---|
private static class |
SerialHandle.LocalSerialHandle |
private static class |
SerialHandle.RemoteSerialHandle |
Modifier and Type | Field and Description |
---|---|
SerialHandle |
WithSerialId.serialHandle
See SerialHandle class for details
|
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.util.UUID,SerialHandle> |
SerialHandles.localHandles
Table of local objects serialized out to remote nodes
|
Modifier and Type | Method and Description |
---|---|
static SerialHandle |
SerialHandle.create(WithSerialId obj,
java.util.UUID id) |
SerialHandle |
SerialContext.get(java.util.UUID id) |
SerialHandle |
SerialHandles.get(java.util.UUID id) |
SerialHandle |
WithSerialId.getOrCreateSerialHandle()
Gets serial handle for the object
If needed new handle created and serialization host subscribed for the object handle
|
Modifier and Type | Method and Description |
---|---|
void |
SerialContext.add(SerialHandle serialHandle) |
void |
SerialHandles.add(SerialHandle handle) |
protected RemoteHandle |
WithSerialId.createRemoteHandle(SerialHandle handle,
SerialContext host) |
void |
SerialContext.finalizeHandle(SerialHandle handle) |
void |
SerialHandles.finalizeHandle(SerialHandle handle) |
void |
SerialContext.remove(SerialHandle serialHandle) |
void |
SerialHandles.remove(SerialHandle handle) |