public class WriterMap extends java.lang.Object implements FastSerializable
| Modifier and Type | Field and Description |
|---|---|
int |
version |
| Constructor and Description |
|---|
WriterMap(java.io.DataInput in)
Deserialization constructor.
|
WriterMap(long tid) |
WriterMap(WriterMap map)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCreate(Object._Proxy proxy)
Determines whether this map has a "create" entry for the given object.
|
Label |
getCreate(Object._Proxy proxy) |
RemoteWorker |
getWriter(Object._Proxy proxy) |
RemoteWorker |
getWriter(Object._Proxy proxy,
Label label)
This version of the lookup avoids having to fetch the proxy to determine
its label.
|
void |
put(Object._Proxy proxy,
Label keyObject) |
void |
putAll(WriterMap map)
Puts all the entries from the given map into this map.
|
void |
write(java.io.DataOutput out) |
public WriterMap(long tid)
tid - the transaction ID for the topmost transaction that this map is a
part of.public WriterMap(WriterMap map)
public WriterMap(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic boolean containsCreate(Object._Proxy proxy)
public Label getCreate(Object._Proxy proxy)
public RemoteWorker getWriter(Object._Proxy proxy)
public RemoteWorker getWriter(Object._Proxy proxy, Label label)
label - the label corresponding to the given proxy.public void put(Object._Proxy proxy, Label keyObject)
public void putAll(WriterMap map)
public void write(java.io.DataOutput out)
throws java.io.IOException
write in interface FastSerializablejava.io.IOException