Serialized Form
objectData
byte[] objectData
- The serialized object. Format:
- long onum
- int version number
- long promise expiration
- byte whether the label pointer is an inter-store ref
- short label's store's name length (only present if inter-store)
- byte[] label's store's name data (only present if inter-store)
- long label's onum
- byte whether the class is a system class
- short codebase's store's name length (only present if not a system
class)
- byte[] codebase's store's name data (only present if not a system
class)
- long codebase's onum (only present if not a system class)
- short class name length
- byte[] class name data
- short class hash length
- byte[] class hash data
- int # ref types
- int # intra-store refs
- int serialized data length
- int # inter-store refs
- byte[] ref type data
- long[] intra-store refs
- byte[] serialized data
- (utf*long)[] inter-store refs
className
java.lang.String className
- The name of this object's class. This is filled in lazily from the data in
objectData when getClassName() is called.
parent
TransactionID parent
tid
long tid
- The tid for this nested transaction.
topTid
long topTid
- The tid for the top-level transaction.
depth
int depth
- The nesting depth of this transaction. Top-level transactions have depth 0.
Package fabric.common.exceptions |
exitCode
int exitCode
exitCode
int exitCode
Package fabric.common.net |
Package fabric.common.util |
key
long key
- The key. Package visible for direct manipulation.
value
java.lang.Object value
- The value. Package visible for direct manipulation.
key
long key
value
java.lang.Object value
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Deserializes this object from the given stream.
- Serial Data:
- the capacity(int) that is the length of the
bucket array, the size(int) of the hash map
are emitted first. They are followed by size entries,
each consisting of a key (Object) and a value (Object).
- Throws:
java.lang.ClassNotFoundException
- if the underlying stream fails
java.io.IOException
- if the underlying stream fails
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Serializes this object to the given stream.
- Serial Data:
- the capacity(int) that is the length of the
bucket array, the size(int) of the hash map
are emitted first. They are followed by size entries,
each consisting of a key (Object) and a value (Object).
- Throws:
java.io.IOException
- if the underlying stream fails
threshold
int threshold
- The rounded product of the capacity and the load factor; when the number
of elements exceeds the threshold, the HashMap calls
rehash()
.
- the threshold for rehashing
loadFactor
float loadFactor
- Load factor of this HashMap: used in computing the threshold.
Package visible for use by HashSet.
- the load factor
Package fabric.dissemination.pastry |
name
java.lang.String name
- The DNS hostname of the node.
node
RemoteNode node
tm
TransactionManager tm
sm
SurrogateManager sm
readObject
private final Object._Impl readObject(boolean useDissem,
long onum)
throws FetchException
- Throws:
FetchException
readObject
public final Object._Impl readObject(long onum)
throws FetchException
- Returns the requested _Impl object. If the object is not resident, it is
fetched from the Store via dissemination.
- Throws:
FabricException
FetchException
readResolve
public java.lang.Object readResolve()
- Looks up the actual Store object when this store is deserialized. While
this method is not explicitly called in the code, it is used by the Java
serialization framework when deserializing a Store object.
- Throws:
java.io.ObjectStreamException
failed
java.util.List<E> failed
unreachable
java.util.List<E> unreachable
versionConflicts
LongKeyMap<V> versionConflicts
- A set of objects used by the transaction and were out of date.
messages
java.util.List<E> messages
tid
TransactionID tid
- Identifies the transaction that is to be restarted.
Package fabric.worker.remote |
readObject
public Object._Impl readObject(TransactionID tid,
Store store,
long onum)
readObject
public void readObject(TransactionID tid,
Object._Impl obj)
- Reads the given object from the remote worker, updating the object's state.
Package fabric.worker.transaction |
reference
Object._Proxy reference