- cern.entwined - package cern.entwined
-
- cern.entwined.exception - package cern.entwined.exception
-
- checkEmpty(String, Collection<T>) - Static method in class cern.entwined.Utils
-
- checkNull(String, T) - Static method in class cern.entwined.Utils
-
- checkNull(String, String) - Static method in class cern.entwined.Utils
-
- checkNullState(String, T) - Static method in class cern.entwined.Utils
-
- cleanCopy() - Method in class cern.entwined.CompositeCollection
-
Creates a new transactional entity from the current one discarding all the local changes.
- cleanCopy() - Method in class cern.entwined.SemiPersistent
-
Creates a new transactional entity from the current one discarding all the local changes.
- cleanCopy() - Method in class cern.entwined.TransactionalMap
-
- cleanCopy() - Method in class cern.entwined.TransactionalMultimap
-
- cleanCopy() - Method in class cern.entwined.TransactionalQueue
-
- cleanCopy() - Method in class cern.entwined.TransactionalRef
-
- clear() - Method in interface cern.entwined.OpaqueMap
-
Removes all of the mappings from this map (optional operation).
- clear() - Method in interface cern.entwined.OpaqueMultimap
-
Removes all of the mappings from this map (optional operation).
- clear() - Method in class cern.entwined.TransactionalMap
-
- clear() - Method in class cern.entwined.TransactionalMultimap
-
- clear() - Method in class cern.entwined.TransactionalQueue
-
- commit(CompositeCollection) - Method in class cern.entwined.CompositeCollection
-
- commit(TransactionalMap<K, V>) - Method in class cern.entwined.TransactionalMap
-
- commit(TransactionalMultimap<K, V>) - Method in class cern.entwined.TransactionalMultimap
-
- commit(TransactionalQueue<E>) - Method in class cern.entwined.TransactionalQueue
-
For performance purposes returned global state is initialized with empty iterator, therefore polling data from
the collection is not possible.
- commit(TransactionalRef<T>) - Method in class cern.entwined.TransactionalRef
-
- committed(T) - Method in interface cern.entwined.Transaction
-
Implementation of this method must contain all the I/O and post transactional processing.
- committed(T) - Method in class cern.entwined.TransactionAdapter
-
- compareTo(T) - Method in class cern.entwined.Snapshot
-
Compares snapshot timestamps only.
- CompositeCollection - Class in cern.entwined
-
This class is aimed at simplification of client collection and snapshot implementations.
- CompositeCollection(SemiPersistent...) - Constructor for class cern.entwined.CompositeCollection
-
- ConflictException - Exception in cern.entwined.exception
-
Exception is thrown by transactional data types at commit time when a conflict is detected.
- ConflictException() - Constructor for exception cern.entwined.exception.ConflictException
-
- ConflictException(String) - Constructor for exception cern.entwined.exception.ConflictException
-
- ConflictException(String, Throwable) - Constructor for exception cern.entwined.exception.ConflictException
-
- ConflictException(Throwable) - Constructor for exception cern.entwined.exception.ConflictException
-
- contains(Object) - Method in class cern.entwined.TransactionalQueue
-
This operation is not supported.
- containsAll(Collection<?>) - Method in class cern.entwined.TransactionalQueue
-
This operation is not supported.
- containsKey(K) - Method in interface cern.entwined.OpaqueMap
-
Returns true if this map contains a mapping for the specified key.
- containsKey(K) - Method in interface cern.entwined.OpaqueMultimap
-
Returns true if this map contains a mapping for the specified key.
- containsKey(K) - Method in class cern.entwined.TransactionalMap
-
- containsKey(K) - Method in class cern.entwined.TransactionalMultimap
-
- get(int) - Method in class cern.entwined.CompositeCollection
-
Returns a transactional reference or collection with the give index.
- get() - Method in class cern.entwined.GlobalReference
-
Retrieves the globally referenced object.
- get(K) - Method in interface cern.entwined.OpaqueMap
-
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the
key.
- get(K) - Method in interface cern.entwined.OpaqueMultimap
-
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the
key.
- get(K) - Method in class cern.entwined.TransactionalMap
-
- get(K) - Method in class cern.entwined.TransactionalMultimap
-
- getBaseSnapshot() - Method in class cern.entwined.Memory
-
Checks if there is a running transaction and if there is returns its snapshot.
- getNextId() - Method in class cern.entwined.Memory
-
Returns the next unique ID that can be used in BaseSnapshot.
- getResult() - Method in class cern.entwined.TransactionClosure
-
Gets the result of the transaction execution.
- getRightException(Throwable) - Static method in exception cern.entwined.exception.UnwrappableException
-
Used in constructors to correctly unwrap any throwable that has to be unwrapped.
- getRightMessage(String, Throwable) - Static method in exception cern.entwined.exception.UnwrappableException
-
Used in constructors to correctly unwrap any message from cause.
- getStackTrace(Throwable) - Static method in class cern.entwined.Utils
-
Prints exception stack into a string and returns it.
- getUnique(Collection<T>) - Static method in class cern.entwined.Utils
-
Returns the only element in the given collection.
- getUnwrap() - Method in interface cern.entwined.exception.Unwrappable
-
Returns the unwrap flag value.
- getUnwrap() - Method in exception cern.entwined.exception.UnwrappableException
-
- GlobalReference<T> - Class in cern.entwined
-
This class enables aggregation of transactional references within non transactional entities.
- GlobalReference(Memory<?>, T) - Constructor for class cern.entwined.GlobalReference
-