Serialized Form


Package org.xvsm.coordinators

Class org.xvsm.coordinators.FifoCoordinator extends IImplicitCoordinator implements Serializable

serialVersionUID: -795071041584329339L

Serialized Fields

entries

java.util.List<E> entries
Entries managed by this coordinator. They are stored in fifo order in this list.


size

int size
The maximum size of the container where this FifoCoordinator belongs to.

Class org.xvsm.coordinators.GenericKeyCoordinator extends IExplicitCoordinator implements Serializable

serialVersionUID: 3027037571449489139L

Serialized Fields

entries

java.util.Map<K,V> entries
Contains all entries which have been written with a KeySelector.


maxSize

int maxSize
The maximum size of the container where this KeyCoordinator belongs to.


currentSize

int currentSize
The amount of entries currently managed by this coordinator.


deletedEntries

java.util.Map<K,V> deletedEntries
Contains entries and selectors which have been deleted. This information is necessary to rollback a transaction.


reverseMap

java.util.Map<K,V> reverseMap
We need to store which entry has been written with which selector. Otherwise we need to iterate over all entries on delete.

Class org.xvsm.coordinators.KeyCoordinator extends IExplicitCoordinator implements Serializable

serialVersionUID: 3027037571449489139L

Serialized Fields

entries

java.util.Map<K,V> entries
Contains all entries which have been written with a KeySelector.


maxSize

int maxSize
The maximum size of the container where this KeyCoordinator belongs to.


currentSize

int currentSize
The amount of entries currently managed by this coordinator.


deletedEntries

java.util.Map<K,V> deletedEntries
Contains entries and selectors which have been deleted. This information is necessary to rollback a transaction.


typeMap

java.util.Map<K,V> typeMap

reverseMap

java.util.Map<K,V> reverseMap
We need to store which entry has been written with which selector. Otherwise we need to iterate over all entries on delete.

Class org.xvsm.coordinators.LabelCoordinator extends IExplicitCoordinator implements Serializable

serialVersionUID: 3027037571449489139L

Serialized Fields

entries

MultiMapList<K,V,L> entries
Contains all entries which have been written with a KeySelector. (old) unique Key: only one entry for one key String name of Key , Map (key , entry) (new) -> MultiKeys : String name of Key , Map (key , List(entry))


maxSize

int maxSize
The maximum size of the container where this KeyCoordinator belongs to.


currentSize

int currentSize
The amount of entries currently managed by this coordinator.


deletedEntries

MultiMapList<K,V,L> deletedEntries
Contains entries and selectors which have been deleted. This information is necessary to rollback a transaction.


reverseMap

MultiMap<K,V> reverseMap
We need to store which entry has been written with which selector. Otherwise we need to iterate over all entries on delete.


typeMap

java.util.Map<K,V> typeMap

Class org.xvsm.coordinators.LifoCoordinator extends FifoCoordinator implements Serializable

serialVersionUID: -5287274278986530418L

Class org.xvsm.coordinators.LindaCoordinator extends IImplicitCoordinator implements Serializable

serialVersionUID: 3867508050161659712L

Serialized Fields

maxSize

int maxSize
The maximum size of the container where this LindaCoordinator belongs to.


entries

java.util.Map<K,V> entries
Contains all entries.


deleted

java.util.Map<K,V> deleted
Entries which have been deleted.

Class org.xvsm.coordinators.MultiMap extends java.lang.Object implements Serializable

serialVersionUID: 8819920331132708104L

Serialized Fields

map

java.util.concurrent.ConcurrentMap<K,V> map
Multimap.

Class org.xvsm.coordinators.MultiMapList extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

map

java.util.concurrent.ConcurrentMap<K,V> map
Map structure.

Class org.xvsm.coordinators.NOPCoordinator extends IImplicitCoordinator implements Serializable

serialVersionUID: 4366410531772395042L

Serialized Fields

entries

java.util.List<E> entries
Contains all entries.

Class org.xvsm.coordinators.RandomCoordinator extends IImplicitCoordinator implements Serializable

serialVersionUID: -6043638147482749268L

Serialized Fields

maximalSize

int maximalSize
The maximum size of the container where this RandomCoordinator belongs to.


entries

java.util.Map<K,V> entries
Contains all entries.

Class org.xvsm.coordinators.VectorCoordinator extends IExplicitCoordinator implements Serializable

serialVersionUID: -2474815951120951066L

Serialized Fields

entries

java.util.List<E> entries
Entries managed by this coordinator. They are stored in fifo order in this list.


maxSize

int maxSize
The maximum size of the container where this VectorCoordinator belongs to.


Package org.xvsm.core

Class org.xvsm.core.AtomicEntry extends Entry implements Serializable

serialVersionUID: -1226744563053474366L

Serialized Fields

value

java.lang.Object value
The value stored in this entry.


valueClass

java.lang.Class<T> valueClass
The class of the generic value.
This is only needed when reading with LindaSelector

Class org.xvsm.core.ContainerRef extends java.lang.Object implements Serializable

serialVersionUID: 5812673094573161732L

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Method is used for seializing the ContainerRef.
We have to remove the reference to the container.

Throws:
java.io.IOException - thrown if problems accure while writing on out.
See Also:
java.io.Serializable}
Serialized Fields

id

java.lang.String id
The identifier.


site

java.net.URI site
the uri for the MozartSpaces instance.


container

IContainer container
The container for this cref.

Class org.xvsm.core.Entry extends java.lang.Object implements Serializable

serialVersionUID: 7961524563053473111L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Method is used for deserializing the object.
Initializes the readLocks list and the lockObject.

Throws:
java.io.IOException - thrown if an error occurs while reading the entry.
java.lang.ClassNotFoundException - thrown if a class can not be found.

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Method is used for serializing the entry.
Remove all unnecessary information form the entry before sending to the client.

Throws:
java.io.IOException - thrown if an error occurs while writing the entry.
Serialized Fields

id

java.lang.String id
The internal id of the entry. This id does not need to be globally unique It needs to be unique on this core instance (site) only.


entryType

Entry.EntryTypes entryType
The type of this entry.
If entryTypes is EntryTypes.TUPLE you can cast this entry to a tuple otherwise (set to EntryTypes.ATOMICENTRY) this entry can be cast to AtomicEntry.


selectors

java.util.List<E> selectors
A List of Selectors used to write the entry. This field is null when the entry has been written from the container.


coordinationType

java.util.List<E> coordinationType
Stores a List of coordination types in which this entry is referenced.


deleteLock

Transaction deleteLock
This lock is set if the entry has been deleted by a transaction which has not been committed or rolled back.


writeLock

Transaction writeLock
This lock is set if the entry has been written by a transaction which has not been committed or rolled back.


lockObject

java.lang.Object lockObject
A shared object used to synchronize the locking mechanisms.


readLocks

java.util.Map<K,V> readLocks
A map containing all readLocks.

Class org.xvsm.core.ExceptionEntry extends Entry implements Serializable

serialVersionUID: -8657951186076646080L

Serialized Fields

desription

java.lang.String desription
the description.


name

java.lang.String name
the exception number.

Class org.xvsm.core.Tuple extends Entry implements Serializable

serialVersionUID: -7973426254054471248L

Serialized Fields

entries

java.util.List<E> entries
This List contains the tuple.

Class org.xvsm.core.VoidEntry extends Entry implements Serializable

serialVersionUID: 8157332074349760988L


Package org.xvsm.core.aspect

Class org.xvsm.core.aspect.GlobalAspect extends LocalAspect implements Serializable

serialVersionUID: 4567156544784668998L

Class org.xvsm.core.aspect.IAspect extends java.lang.Object implements Serializable

Serialized Fields

properties

java.util.Properties properties
The aspect properties.


id

java.lang.String id
The aspect identifier.

Class org.xvsm.core.aspect.LocalAspect extends IAspect implements Serializable

serialVersionUID: 3867082544234663298L


Package org.xvsm.core.notifications

Class org.xvsm.core.notifications.NotificationAspect extends GlobalAspect implements Serializable

serialVersionUID: 102376212575295265L

Serialized Fields

cref

ContainerRef cref

ncref

ContainerRef ncref

Package org.xvsm.interfaces

Class org.xvsm.interfaces.ICoordinator extends java.lang.Object implements Serializable

Serialized Fields

cref

ContainerRef cref
The ContainerRef of the container.


lockObject

java.lang.Boolean lockObject
A lock object used for synchronisation.


writeLock

Transaction writeLock
The current Transaction using this Coordinator.


readLocks

java.util.TreeMap<K,V> readLocks
The Transactions that have readLocks on that Coordinator.


properties

java.util.Properties properties
The properties of this coordinator.

Class org.xvsm.interfaces.IExplicitCoordinator extends ICoordinator implements Serializable

Class org.xvsm.interfaces.IImplicitCoordinator extends ICoordinator implements Serializable


Package org.xvsm.internal.exceptions

Class org.xvsm.internal.exceptions.AspectNotOkException extends XCoreException implements Serializable

serialVersionUID: -1025477855975421892L

Class org.xvsm.internal.exceptions.AspectRescheduleException extends XCoreException implements Serializable

serialVersionUID: -3222445231520174781L

Class org.xvsm.internal.exceptions.AspectSkipException extends XCoreException implements Serializable

serialVersionUID: 1L

Class org.xvsm.internal.exceptions.CannotShiftException extends XCoreException implements Serializable

serialVersionUID: 2153550727344382249L

Class org.xvsm.internal.exceptions.ContainerFullException extends XCoreException implements Serializable

serialVersionUID: -1600453146674770574L

Class org.xvsm.internal.exceptions.ContainerLockedException extends XCoreException implements Serializable

serialVersionUID: -8117470374140362286L

Serialized Fields

reason

Transaction reason
The Transaction that has the actual lock. This transaction is the reason, for the raise of this exception.

Class org.xvsm.internal.exceptions.ContainerNameOccupiedException extends XCoreException implements Serializable

serialVersionUID: 3730827995828704106L

Class org.xvsm.internal.exceptions.CountNotMetException extends XCoreException implements Serializable

serialVersionUID: -8402508909354305426L

Class org.xvsm.internal.exceptions.EntryLockedException extends XCoreException implements Serializable

serialVersionUID: 4256183777239259564L

Serialized Fields

reason

Transaction reason
The reason for the exception.

Class org.xvsm.internal.exceptions.FatalException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 3624176436030121918L

Class org.xvsm.internal.exceptions.InvalidContainerException extends XCoreException implements Serializable

serialVersionUID: -52157282532677403L

Class org.xvsm.internal.exceptions.InvalidTransactionException extends XCoreException implements Serializable

serialVersionUID: 8609645955402432087L

Class org.xvsm.internal.exceptions.NoSuchCoordinationTypeException extends XCoreException implements Serializable

serialVersionUID: -1587565272912727307L

Class org.xvsm.internal.exceptions.TimeoutExpiredException extends XCoreException implements Serializable

serialVersionUID: -5279838791733196889L

Class org.xvsm.internal.exceptions.TransactionLockException extends XCoreException implements Serializable

serialVersionUID: -8117470374140362286L

Serialized Fields

reason

Transaction reason
The Transaction that has the actual lock. This transaction is the reason, for the raise of this exception.

Class org.xvsm.internal.exceptions.XCoreException extends java.lang.Exception implements Serializable

serialVersionUID: -577780326004107058L

Class org.xvsm.internal.exceptions.XCoreRemoteException extends XCoreException implements Serializable


Package org.xvsm.internal.tasks

Class org.xvsm.internal.tasks.AspectTask extends Task implements Serializable

serialVersionUID: 6173238989593091613L

Serialized Fields

type

AspectTaskType type
The type of the aspect operations. Maybe null if not needed by the operation.


aspect

IAspect aspect
The aspect itselft. Maybe null if not needed by the operation.


points

java.util.List<E> points
The integration points, where the aspect should work.


cref

ContainerRef cref
The ContainerRef where the aspect should be added.


aspectURI

java.net.URI aspectURI
the uri of the aspect.

Class org.xvsm.internal.tasks.ClearTask extends Task implements Serializable

serialVersionUID: 5795154411907500774L

Class org.xvsm.internal.tasks.ContainerTask extends Task implements Serializable

serialVersionUID: -5332908391360539245L

Serialized Fields

type

ContainerTaskType type
The task that will be performed. Necessary parameters should be set.


cref

ContainerRef cref
The ContainerRef. Maybe null if not needed by the operation.


meta

boolean meta
true if the a meta container shall be returned.


size

int size
The size of the new container.


tx

Transaction tx
The transaction.


coordinators

ICoordinator[] coordinators
The Coordinators of the new container.

Class org.xvsm.internal.tasks.OperationTask extends Task implements Serializable

serialVersionUID: 852362856073526398L

Serialized Fields

type

OperationTaskType type
See Also:
OperationTaskType

timeout

long timeout
the timeout of this operation.


lastTimeoutUpdate

long lastTimeoutUpdate
the time of the last update of the timeout.


cref

ContainerRef cref
See Also:
ContainerRef

tx

Transaction tx
See Also:
Transaction

selectors

java.util.List<E> selectors
See Also:
Selector

entries

java.util.List<E> entries
See Also:
Entry

deleted

java.util.List<E> deleted
deleted entries.


retrycount

int retrycount
The retrycount of this task.

Class org.xvsm.internal.tasks.ReplyTask extends Task implements Serializable

serialVersionUID: 1566846387170832107L

Class org.xvsm.internal.tasks.ShutdownTask extends Task implements Serializable

serialVersionUID: 8527533614953903594L

Class org.xvsm.internal.tasks.Task extends java.lang.Object implements Serializable

Serialized Fields

hasFinished

boolean hasFinished
A boolean which indicates, that the task is done. If so, the answer field is set.


result

java.lang.Object result
The result of this task. This field is set, whenever the task is done.


answerToContainer

java.net.URI answerToContainer
The URL of the container for the answer.


aspectContext

java.util.Properties aspectContext
The aspect context.


taskID

long taskID

Class org.xvsm.internal.tasks.TransactionTask extends Task implements Serializable

serialVersionUID: -8703083667912332797L

Serialized Fields

type

TransactionTaskType type
The TransactionTaskType of this task.


tx

Transaction tx
The transaction.


timeout

long timeout
the timeout of the transaction.


Package org.xvsm.lookup

Class org.xvsm.lookup.LookupAspect extends GlobalAspect implements Serializable

Serialized Fields

lm

LookupManager lm

Package org.xvsm.lookup.exceptions

Class org.xvsm.lookup.exceptions.ContainerAlreadyPublishedException extends XCoreException implements Serializable

serialVersionUID: -1600453146674770574L

Class org.xvsm.lookup.exceptions.ContainerNotPublishedException extends XCoreException implements Serializable

serialVersionUID: -1600453146674770574L

Class org.xvsm.lookup.exceptions.LookupException extends XCoreException implements Serializable

serialVersionUID: -1600453146674770574L


Package org.xvsm.lookup.freepastry

Class org.xvsm.lookup.freepastry.FPPastContent extends rice.p2p.past.ContentHashPastContent implements Serializable

Serialized Fields

content

java.lang.String content

Package org.xvsm.lookup.gnutella.exceptions

Class org.xvsm.lookup.gnutella.exceptions.NotFoundException extends java.lang.Exception implements Serializable

serialVersionUID: 6699607532050996200L


Package org.xvsm.lookup.gnutella.objects

Class org.xvsm.lookup.gnutella.objects.GnutellaAnswer extends java.lang.Object implements Serializable

serialVersionUID: -2423524541994010558L

Serialized Fields

searchString

java.lang.String searchString

object

java.lang.Object object

Class org.xvsm.lookup.gnutella.objects.GnutellaRequest extends java.lang.Object implements Serializable

serialVersionUID: 7617232227114624538L

Serialized Fields

searchString

java.lang.String searchString

requester

java.net.SocketAddress requester

counter

int counter

Package org.xvsm.remote.freepastry

Class org.xvsm.remote.freepastry.FreePastryMessage extends java.lang.Object implements Serializable

Serialized Fields

from

rice.p2p.commonapi.Id from

to

rice.p2p.commonapi.Id to

data

byte[] data

Class org.xvsm.remote.freepastry.MyAspect extends LocalAspect implements Serializable

serialVersionUID: 974266238027304067L


Package org.xvsm.selectors

Class org.xvsm.selectors.FifoSelector extends Selector implements Serializable

serialVersionUID: 5140644863898296736L

Class org.xvsm.selectors.GenericKeySelector extends Selector implements Serializable

serialVersionUID: 2641355619106596334L

Serialized Fields

valueType

java.lang.Class<T> valueType
the type of the keyValue.


keyValue

java.lang.Object keyValue
The value of the key.


keyName

java.lang.String keyName
The name of the key.

Class org.xvsm.selectors.KeySelector extends GenericKeySelector<T> implements Serializable

serialVersionUID: 8735291464325032413L

Class org.xvsm.selectors.LabelSelector extends Selector implements Serializable

serialVersionUID: -3180626990178379845L

Serialized Fields

valueType

java.lang.Class<T> valueType
the type of the keyValue.


keyValue

java.lang.Object keyValue
The value of the key.


keyName

java.lang.String keyName
The name of the key.

Class org.xvsm.selectors.LifoSelector extends Selector implements Serializable

serialVersionUID: 2610384490479840034L

Class org.xvsm.selectors.LindaSelector extends Selector implements Serializable

serialVersionUID: 7619634649348256334L

Serialized Fields

template

Entry template
Template of the LindaSelector.
The selector will match any entry base on this template.

Class org.xvsm.selectors.RandomSelector extends Selector implements Serializable

serialVersionUID: -7576330006120151041L

Class org.xvsm.selectors.Selector extends java.lang.Object implements Serializable

Serialized Fields

count

int count
The amount of entries that should match.

Class org.xvsm.selectors.VectorSelector extends Selector implements Serializable

serialVersionUID: -7280521018606009824L

Serialized Fields

index

int index
The index of the selector.


Package org.xvsm.transactions

Class org.xvsm.transactions.Transaction extends java.lang.Object implements Serializable

serialVersionUID: -2895233282572881371L

Serialized Fields

id

java.lang.String id
An unique identifier for this transaction.


underRollback

boolean underRollback

implicit

boolean implicit
indicates whether this transaction is an implicit transaction.


timeout

long timeout
The remaining timeout of this transaction.


lastTimeoutUpdate

long lastTimeoutUpdate
The time when the timeout has been updated.


father

Transaction father
The father transaction.


site

java.net.URI site
The site on which this transaction has been created.



Copyright © 2009. All Rights Reserved.