org.codehaus.gpars

groovyx.gpars.serial
[Java] Class SerialHandles

java.lang.Object
  groovyx.gpars.serial.SerialHandles

public abstract class SerialHandles
extends java.lang.Object

Authors:
Alex Tkachman


Field Summary
protected java.util.UUID id

Unique id of the provider

private java.util.HashMap localHandles

Table of local objects serialized out to remote nodes

 
Constructor Summary
SerialHandles()

 
Method Summary
void add(SerialHandle handle)

void finalizeHandle(SerialHandle handle)

SerialHandle get(java.util.UUID id)

java.util.UUID getId()

Getter for provider id

SerialContext getSerialHost(java.util.UUID hostId, java.lang.Object attachment)

void remove(SerialHandle handle)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

id

protected final java.util.UUID id
Unique id of the provider


localHandles

private final java.util.HashMap localHandles
Table of local objects serialized out to remote nodes


 
Constructor Detail

SerialHandles

SerialHandles()


 
Method Detail

add

public void add(SerialHandle handle)


finalizeHandle

public void finalizeHandle(SerialHandle handle)


get

public SerialHandle get(java.util.UUID id)


getId

public java.util.UUID getId()
Getter for provider id
Returns:
unique id


getSerialHost

public SerialContext getSerialHost(java.util.UUID hostId, java.lang.Object attachment)


remove

public void remove(SerialHandle handle)


 

Copyright © 2008–2010 Václav Pech. All Rights Reserved.