Serialized Form


Package fabric.common

Class fabric.common.SerializedObject extends java.lang.Object implements Serializable

Serialized Fields

objectData

byte[] objectData
The serialized object. Format:


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.

Class fabric.common.TransactionID extends java.lang.Object implements Serializable

Serialized Fields

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

Class fabric.common.exceptions.AccessException extends FabricException implements Serializable

Class fabric.common.exceptions.BadSignatureException extends FabricException implements Serializable

Class fabric.common.exceptions.FabricException extends java.lang.Exception implements Serializable

Class fabric.common.exceptions.FabricRuntimeException extends java.lang.RuntimeException implements Serializable

Class fabric.common.exceptions.FetchException extends FabricException implements Serializable

Class fabric.common.exceptions.InternalError extends java.lang.Error implements Serializable

Class fabric.common.exceptions.NoSuchNodeError extends FabricException implements Serializable

Class fabric.common.exceptions.ProtocolError extends FabricException implements Serializable

Class fabric.common.exceptions.RuntimeFetchException extends FabricRuntimeException implements Serializable

Class fabric.common.exceptions.TerminationException extends java.lang.RuntimeException implements Serializable

Serialized Fields

exitCode

int exitCode

Class fabric.common.exceptions.UsageError extends java.lang.Exception implements Serializable

Serialized Fields

exitCode

int exitCode

Package fabric.common.net

Class fabric.common.net.NotImplementedException extends java.lang.RuntimeException implements Serializable


Package fabric.common.util

Class fabric.common.util.AbstractLongKeyMap.SimpleEntry extends java.lang.Object implements Serializable

Serialized Fields

key

long key
The key. Package visible for direct manipulation.


value

java.lang.Object value
The value. Package visible for direct manipulation.

Class fabric.common.util.AbstractLongKeyMap.SimpleImmutableEntry extends java.lang.Object implements Serializable

Serialized Fields

key

long key

value

java.lang.Object value

Class fabric.common.util.LongKeyHashMap extends AbstractLongKeyMap<V> implements Serializable

Serialization Methods

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
Serialized Fields

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

Class fabric.dissemination.pastry.DisseminationTimeoutException extends FetchException implements Serializable


Package fabric.net

Class fabric.net.RemoteNode extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
The DNS hostname of the node.

Class fabric.net.UnreachableNodeException extends FabricRuntimeException implements Serializable

Serialized Fields

node

RemoteNode node

Package fabric.store

Class fabric.store.DuplicateStoreException extends UsageError implements Serializable

Class fabric.store.InProcessStore extends RemoteStore implements Serializable

Serialized Fields

tm

TransactionManager tm

sm

SurrogateManager sm

Package fabric.worker

Class fabric.worker.AbortException extends java.lang.RuntimeException implements Serializable

Class fabric.worker.NoSuchNameException extends java.lang.Exception implements Serializable

Class fabric.worker.RemoteStore extends RemoteNode implements Serializable

Serialization Methods

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

Class fabric.worker.RetryException extends java.lang.RuntimeException implements Serializable

Class fabric.worker.TransactionAbortingException extends FabricRuntimeException implements Serializable

Class fabric.worker.TransactionAtomicityViolationException extends InternalError implements Serializable

Serialized Fields

failed

java.util.List<E> failed

unreachable

java.util.List<E> unreachable

Class fabric.worker.TransactionCommitFailedException extends FabricException implements Serializable

Class fabric.worker.TransactionPrepareFailedException extends FabricException implements Serializable

Serialized Fields

versionConflicts

LongKeyMap<V> versionConflicts
A set of objects used by the transaction and were out of date.


messages

java.util.List<E> messages

Class fabric.worker.TransactionRestartingException extends FabricRuntimeException implements Serializable

Serialized Fields

tid

TransactionID tid
Identifies the transaction that is to be restarted.

Class fabric.worker.UserAbortException extends java.lang.RuntimeException implements Serializable


Package fabric.worker.remote

Class fabric.worker.remote.RemoteCallException extends FabricException implements Serializable

Class fabric.worker.remote.RemoteCallLabelCheckFailedException extends FabricRuntimeException implements Serializable

Class fabric.worker.remote.RemoteWorker extends RemoteNode implements Serializable

Serialization Methods

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

Class fabric.worker.transaction.VersionConflictException extends FabricRuntimeException implements Serializable

Serialized Fields

reference

Object._Proxy reference