Serialized Form


Package com.sun.sgs.app

Class com.sun.sgs.app.DeliveryNotSupportedException extends RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

delivery

Delivery delivery
The delivery guarantee.

Class com.sun.sgs.app.ManagerNotFoundException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.MessageRejectedException extends ResourceUnavailableException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.NameExistsException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.NameNotBoundException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.ObjectIOException extends RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

shouldRetry

boolean shouldRetry
Whether an operation that throws this exception should be retried.

 

Class com.sun.sgs.app.ObjectNotFoundException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.ResourceUnavailableException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.TaskRejectedException extends ResourceUnavailableException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.TransactionAbortedException extends TransactionException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.TransactionConflictException extends TransactionAbortedException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.TransactionException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.TransactionNotActiveException extends TransactionException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.app.TransactionTimeoutException extends TransactionAbortedException implements Serializable

serialVersionUID: 1L


Package com.sun.sgs.app.util

Class com.sun.sgs.app.util.ManagedSerializable extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

object

Object object
The serializable object being wrapped by this instance, which may be null.

 

Class com.sun.sgs.app.util.ScalableDeque extends AbstractCollection<E> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reads in all state for the deque and initializes the transient backingMap field to null

Throws:
IOException
ClassNotFoundException
Serialized Fields

headElement

ManagedReference<T> headElement
A reference to the element at the head of the list.


headCounter

ManagedReference<T> headCounter
A counter for the unique Id assigned to elements at the head of the deque. When a new head element is added, this counter is decremented for the next element. In doing so, this ensures that a monotonic ordering exists for all elements, where the element at the head of the deque has a numerically smaller id than all other elements.

See Also:
ScalableDeque.addToHead(Element)

tailElement

ManagedReference<T> tailElement
A reference to the element at the tail end of the list.


tailCounter

ManagedReference<T> tailCounter
A counter for the unique Id assigned to elements at the tail end of the deque. When a new tail element is added, this counter is incremented for the next element. In doing so, this ensures that a monotonic ordering exists for all elements, where the element at the tail end of the list has a numerically larger id than all other elements.

See Also:
ScalableDeque.addToTail(Element)

backingMapRef

ManagedReference<T> backingMapRef
A reference to the ScalableHashMap that will store all the mappings

Class com.sun.sgs.app.util.ScalableHashMap extends AbstractMap<K,V> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstructs the ScalableHashMap from the provided stream.

Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Saves the state of this ScalableHashMap instance to the provided stream.

Serial Data:
a boolean of whether this instance was a leaf node. If this instance is a leaf node, this boolean is followed by a series PrefixEntry instances, some of which may be chained. The deserialization should count each chained entry towards the total size of the leaf.
Throws:
IOException
Serialized Fields

minorVersion

short minorVersion
The minor version number, which can be modified to note a compatible change to the data structure. Incompatible changes should be marked by a change to the serialVersionUID.

 

parentRef

ManagedReference<T> parentRef
The parent node directly above this. For the root node, this should always be null.

 

leftLeafRef

ManagedReference<T> leftLeafRef
The leaf node immediately to the left of this node if this is a leaf node, else null.

 

rightLeafRef

ManagedReference<T> rightLeafRef
The leaf node immediately to the right of this node if this is a leaf node, else null.

 

nodeDirectory

ManagedReference<T>[] nodeDirectory
The lookup directory for deciding which node to access based on a provided prefix. If this instance is a leaf node, the nodeDirectory for that instance will be null. Note that this directory contains both leaf nodes as well as other directory nodes.

 

modifications

int modifications
The monotonic counter that reflects the number of times this instance has been modified. The counter is used by the ConcurrentIterator class to detect changes between transactions.

 

size

int size
The number of entries in this node's table. Note that this is not the total number of entries in the entire tree. For a directory node, this should be set to 0.

 

splitThreshold

int splitThreshold
The maximum number of PrefixEntry entries in a leaf node before it will split into two leaf nodes.

 
See Also:
split

leafCapacity

int leafCapacity
The capacity of the PrefixEntry table.

 

minDepth

int minDepth
The minimum depth of the tree, which is controlled by the minimum concurrency factor

 
See Also:
initDepth

depth

int depth
The depth of this node in the tree.

 

maxDirBits

int maxDirBits
The maximum number of bits used in the node directory. This is calculated based on the directorySize provided in the constructor.

 
See Also:
addLeavesToDirectory

Class com.sun.sgs.app.util.ScalableHashSet extends AbstractSet<E> implements Serializable

serialVersionUID: 1L

Serialized Fields

minorVersion

short minorVersion
The minor version number, which can be modified to note a compatible change to the data structure. Incompatible changes should be marked by a change to the serialVersionUID.

 

map

ManagedReference<T> map
The reference to the backing map for this set.

 

Class com.sun.sgs.app.util.ScalableList extends AbstractList<E> implements Serializable

serialVersionUID: 1L

Serialized Fields

root

ManagedReference<T> root
The top node in the tree


headRef

ManagedReference<T> headRef
A reference to the head node of the list.


tailRef

ManagedReference<T> tailRef
A reference to the tail of the list. This makes appending to the list a constant-time operation.


bucketSize

int bucketSize
The maximum number of elements a ListNode can contain. This number should be small enough to enable concurrency but large enough to contain a reasonable number of nodes. If it is not explicitly set, it defaults to a value of 10.


branchingFactor

int branchingFactor
The maximum number of children contained in a TreeNode; this parameter is passed to the TreeNode during instantiation. If it is not explicitly set, it defaults to a value of 5.


Package com.sun.sgs.impl.auth

Class com.sun.sgs.impl.auth.IdentityImpl extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name

Package com.sun.sgs.impl.kernel

Class com.sun.sgs.impl.kernel.SystemIdentity extends IdentityImpl implements Serializable

serialVersionUID: 1L


Package com.sun.sgs.impl.protocol.simple

Class com.sun.sgs.impl.protocol.simple.SimpleSgsProtocolDescriptor extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

transportDesc

TransportDescriptor transportDesc
The transport descriptor for this protocol.


Package com.sun.sgs.impl.service.data.store

Class com.sun.sgs.impl.service.data.store.BindingValue extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

oid

long oid
The value of the requested name, or -1 if the name was not bound.


nextName

String nextName
The next name or null if the next name was not determined. The value will also be null if there was no bound name after the requested name.

Class com.sun.sgs.impl.service.data.store.DataStoreException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.impl.service.data.store.NetworkException extends TransactionAbortedException implements Serializable

serialVersionUID: 1L


Package com.sun.sgs.impl.service.nodemap

Class com.sun.sgs.impl.service.nodemap.NoNodesAvailableException extends Exception implements Serializable

serialVersionUID: 1L


Package com.sun.sgs.impl.service.nodemap.affinity

Class com.sun.sgs.impl.service.nodemap.affinity.AffinityGroupFinderFailedException extends Exception implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.impl.service.nodemap.affinity.AffinitySet extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

id

long id
The identity of the affinity group.


identities

HashSet<E> identities
The set of identities comprising the group. Note this needs to be declared a concrete class so we know it is serializable.


generation

long generation
The generation of this affinity set.


Package com.sun.sgs.impl.service.session

Class com.sun.sgs.impl.service.session.ClientSessionImpl extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

idBytes

byte[] idBytes
The session ID bytes. TBD: this should be a transient field.


wrappedSessionRef

ManagedReference<T> wrappedSessionRef
The wrapped client session instance.


identity

Identity identity
The identity for this session.


deliveries

Set<E> deliveries
The set of delivery requirements for this session.


nodeId

long nodeId
The node ID for this session.


connected

boolean connected
Indicates whether this session is connected.


maxMessageLength

int maxMessageLength
Maximum message length for session messages.


writeBufferCapacity

int writeBufferCapacity
The capacity of the write buffer, in bytes.


relocatingToNode

long relocatingToNode
If the value is not -1, indicates the node ID that this session is relocating to.

Class com.sun.sgs.impl.service.session.ClientSessionWrapper extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

sessionRef

ManagedReference<T> sessionRef
The reference to the client session that this instance wraps.


Package com.sun.sgs.impl.service.watchdog

Class com.sun.sgs.impl.service.watchdog.NodeRegistrationFailedException extends Exception implements Serializable

serialVersionUID: 1L


Package com.sun.sgs.impl.util

Class com.sun.sgs.impl.util.AbstractService.Version extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

majorVersion

int majorVersion

minorVersion

int minorVersion

Class com.sun.sgs.impl.util.AdaptiveField extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Make sure that the cached value is cleared.

Throws:
IOException
ClassNotFoundException
Serialized Fields

local

Object local
The field if is being stored locally, else null.

 

ref

ManagedReference<T> ref
The reference to the field if it is current being managed by the data store, else null.

 

isLocal

boolean isLocal
Whether the field is currently maintained with a local reference or is being stored in the data store.

 

Class com.sun.sgs.impl.util.BindingKeyedMapImpl extends AbstractMap<String,V> implements Serializable

serialVersionUID: 1L

Serialized Fields

keyPrefix

String keyPrefix
The key prefix.

Class com.sun.sgs.impl.util.BindingKeyedSetImpl extends AbstractSet<E> implements Serializable

serialVersionUID: 1L

Serialized Fields

map

BindingKeyedMapImpl<V> map
The reference to the backing map for this set.

 

Class com.sun.sgs.impl.util.ManagedQueue extends AbstractQueue<E> implements Serializable

serialVersionUID: 1L

Serialized Fields

headRef

ManagedReference<T> headRef
The head of the queue, or null.


tailRef

ManagedReference<T> tailRef
The tail of the queue, or null.

Class com.sun.sgs.impl.util.WrappedSerializable extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

ref

ManagedReference<T> ref
The managed reference for the object or wrapper.


Package com.sun.sgs.management

Class com.sun.sgs.management.NodeInfo extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

host

String host

id

long id

health

Node.Health health

backup

long backup

jmxPort

int jmxPort

Package com.sun.sgs.nio.channels

Class com.sun.sgs.nio.channels.AbortedByTimeoutException extends IOException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.nio.channels.AcceptPendingException extends IllegalStateException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.nio.channels.AlreadyBoundException extends IllegalStateException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.nio.channels.ClosedAsynchronousChannelException extends IllegalStateException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.nio.channels.IllegalChannelStateException extends IllegalStateException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.nio.channels.ReadPendingException extends IllegalStateException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.nio.channels.ShutdownChannelGroupException extends IllegalStateException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.nio.channels.WritePendingException extends IllegalStateException implements Serializable

serialVersionUID: 1L


Package com.sun.sgs.protocol

Class com.sun.sgs.protocol.LoginFailureException extends Exception implements Serializable

serialVersionUID: 1L

Serialized Fields

reason

LoginFailureException.FailureReason reason
The reason for the failure

Class com.sun.sgs.protocol.LoginRedirectException extends Exception implements Serializable

serialVersionUID: 1L

Serialized Fields

nodeId

long nodeId
The node ID.


descriptors

Set<E> descriptors
The protocol descriptors for the node.

Class com.sun.sgs.protocol.RelocateFailureException extends Exception implements Serializable

serialVersionUID: 1L

Serialized Fields

reason

RelocateFailureException.FailureReason reason
The reason for the failure

Class com.sun.sgs.protocol.RequestFailureException extends Exception implements Serializable

serialVersionUID: 1L

Serialized Fields

reason

RequestFailureException.FailureReason reason
The reason for the failure


Package com.sun.sgs.service

Class com.sun.sgs.service.TransactionInterruptedException extends TransactionAbortedException implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.service.UnknownIdentityException extends Exception implements Serializable

serialVersionUID: 1L

Class com.sun.sgs.service.UnknownNodeException extends Exception implements Serializable

serialVersionUID: 1L


Package com.sun.sgs.service.store

Class com.sun.sgs.service.store.ClassInfoNotFoundException extends Exception implements Serializable

serialVersionUID: 1L


Package com.sun.sgs.service.store.db

Class com.sun.sgs.service.store.db.DbDatabaseException extends RuntimeException implements Serializable

serialVersionUID: 1L


RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved