A B C D E G H I K L M N O P R S T U V _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- attr(AttributeMetadata<V, T>) - Method in class org.glassfish.ha.store.criteria.ExpressionBuilder
- Attribute - Annotation Type in org.glassfish.ha.store.annotations
-
Annotation to declare an Attribute of a StoreEntry.
- AttributeMetadata<S,T> - Interface in org.glassfish.ha.store.spi
-
For each attribute A of type T in a.b.X, a.b.X_ contains a (static) field whose type is AttributeMetadata
.
B
- BackingStore<K extends Serializable,V extends Serializable> - Class in org.glassfish.ha.store.api
-
An object that stores a given value against an id.
- BackingStore() - Constructor for class org.glassfish.ha.store.api.BackingStore
- BackingStoreConfiguration<K extends Serializable,V extends Serializable> - Class in org.glassfish.ha.store.api
- BackingStoreConfiguration() - Constructor for class org.glassfish.ha.store.api.BackingStoreConfiguration
- BackingStoreException - Exception in org.glassfish.ha.store.api
-
This exception is thrown to signal any BackingStore specific exception.
- BackingStoreException() - Constructor for exception org.glassfish.ha.store.api.BackingStoreException
-
Creates a BackingStoreException with null as its detail message.
- BackingStoreException(String) - Constructor for exception org.glassfish.ha.store.api.BackingStoreException
-
constructs a BackingStoreException with the specified detail message
- BackingStoreException(String, Throwable) - Constructor for exception org.glassfish.ha.store.api.BackingStoreException
-
Constructs a new BackingStoreException exception with the specified cause and a detail message of (cause==null ? null : cause.toString())
- BackingStoreFactory - Interface in org.glassfish.ha.store.api
-
A factory for creating BackingStore(s).
- BackingStoreFactoryRegistry - Class in org.glassfish.ha.store.spi
-
A class for storing BackingStore implementation.
- BackingStoreFactoryRegistry() - Constructor for class org.glassfish.ha.store.spi.BackingStoreFactoryRegistry
- BackingStoreTransaction - Interface in org.glassfish.ha.store.api
- BASE_DIRECTORY_NAME - Static variable in class org.glassfish.ha.store.api.BackingStoreConfiguration
- byteArrayToKey(byte[], int, int) - Method in interface org.glassfish.ha.store.util.KeyTransformer
-
Return the key from the byte[].
C
- close() - Method in class org.glassfish.ha.store.api.BackingStore
-
Typically called during shutdown of the process.
- commit() - Method in interface org.glassfish.ha.store.api.BackingStoreTransaction
- createBackingStore(BackingStoreConfiguration<K, V>) - Method in interface org.glassfish.ha.store.api.BackingStoreFactory
-
This method is called to create a BackingStore.
- createBackingStoreTransaction() - Method in interface org.glassfish.ha.store.api.BackingStoreFactory
- createObjectInputStream(InputStream) - Method in class org.glassfish.ha.store.api.BackingStore
- createObjectInputStream(InputStream, ClassLoader) - Method in interface org.glassfish.ha.store.spi.ObjectInputOutputStreamFactory
- createObjectOutputStream(OutputStream) - Method in class org.glassfish.ha.store.api.BackingStore
- createObjectOutputStream(OutputStream) - Method in interface org.glassfish.ha.store.spi.ObjectInputOutputStreamFactory
- Criteria<V> - Class in org.glassfish.ha.store.criteria
-
A class that represents a Criteria.
D
- destroy() - Method in class org.glassfish.ha.store.api.BackingStore
-
Called when the store is no longer needed.
- DuplicateFactoryRegistrationException - Exception in org.glassfish.ha.store.spi
- DuplicateFactoryRegistrationException() - Constructor for exception org.glassfish.ha.store.spi.DuplicateFactoryRegistrationException
-
Creates a DuplicateFactoryRegistrationException with null as its detail message.
- DuplicateFactoryRegistrationException(String) - Constructor for exception org.glassfish.ha.store.spi.DuplicateFactoryRegistrationException
-
constructs a DuplicateFactoryRegistrationException with the specified detail message
- DuplicateFactoryRegistrationException(String, Throwable) - Constructor for exception org.glassfish.ha.store.spi.DuplicateFactoryRegistrationException
-
Constructs a new DuplicateFactoryRegistrationException exception with the specified cause and a detail message of (cause==null ? null : cause.toString())
E
- eq(ExpressionNode<T>, ExpressionNode<T>) - Method in class org.glassfish.ha.store.criteria.ExpressionBuilder
- eq(LiteralNode<T>, AttributeMetadata<V, T>) - Method in class org.glassfish.ha.store.criteria.ExpressionBuilder
- eq(AttributeMetadata<V, T>, LiteralNode<T>) - Method in class org.glassfish.ha.store.criteria.ExpressionBuilder
- eq(AttributeMetadata<V, T>, AttributeMetadata<V, T>) - Method in class org.glassfish.ha.store.criteria.ExpressionBuilder
- eq(AttributeMetadata<V, T>, T) - Method in class org.glassfish.ha.store.criteria.ExpressionBuilder
- eq(T, AttributeMetadata<V, T>) - Method in class org.glassfish.ha.store.criteria.ExpressionBuilder
- eval(K, V) - Method in interface org.glassfish.ha.store.spi.StoreEntryEvaluator
- Expression<T> - Interface in org.glassfish.ha.store.criteria
- ExpressionBuilder<V> - Class in org.glassfish.ha.store.criteria
-
A Class to construct portable Criteria objects
- ExpressionBuilder(Class<V>) - Constructor for class org.glassfish.ha.store.criteria.ExpressionBuilder
G
- get(K) - Method in interface org.glassfish.ha.store.spi.StorableMap
- getAllAttributeMetadata() - Method in interface org.glassfish.ha.store.spi.StoreEntryMetadata
- getAttributeMetadata(String) - Method in interface org.glassfish.ha.store.spi.StoreEntryMetadata
- getAttributeType() - Method in interface org.glassfish.ha.store.spi.AttributeMetadata
-
Get the java type of this attribute
- getBackingStoreConfiguration() - Method in class org.glassfish.ha.store.api.BackingStore
- getBackingStoreFactory() - Method in class org.glassfish.ha.store.api.BackingStore
- getBaseDirectory() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getClassLoader() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getClusterName() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getDeletedKeys() - Method in interface org.glassfish.ha.store.spi.StorableMap
- getExpression() - Method in class org.glassfish.ha.store.criteria.Criteria
- getFactoryInstance(String) - Static method in class org.glassfish.ha.store.spi.BackingStoreFactoryRegistry
-
Return an instance of BackingStoreFactory for the specified type.
- getGetterMethod() - Method in interface org.glassfish.ha.store.spi.AttributeMetadata
- getHashKey() - Method in interface org.glassfish.ha.store.api.HashableKey
- getInstanceName() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getKeyClazz() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getLastAccessTime() - Method in class org.glassfish.ha.store.util.SimpleMetadata
-
Get the last access time of the state.
- getLogger() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getMaxIdleTimeInSeconds() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getMaxInactiveInterval() - Method in class org.glassfish.ha.store.util.SimpleMetadata
-
Get the maximum time that this state can be idle in the store before it can be removed.
- getMaxLoadWaitTimeInSeconds() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getModifiedKeys() - Method in interface org.glassfish.ha.store.spi.StorableMap
- getName() - Method in interface org.glassfish.ha.store.spi.AttributeMetadata
- getNewKeys() - Method in interface org.glassfish.ha.store.spi.StorableMap
- getObjectInputOutputStreamFactory() - Static method in class org.glassfish.ha.store.spi.ObjectInputOutputStreamFactoryRegistry
- getRegisteredTypes() - Static method in class org.glassfish.ha.store.spi.BackingStoreFactoryRegistry
- getRelaxVersionCheck() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getReturnType() - Method in interface org.glassfish.ha.store.criteria.Expression
- getSetterMethod() - Method in interface org.glassfish.ha.store.spi.AttributeMetadata
- getShortUniqueName() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getStartGroupService() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getState() - Method in class org.glassfish.ha.store.util.SimpleMetadata
- getStoreName() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getStoreType() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getTypicalPayloadSizeInKiloBytes() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getValueClazz() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getVendorSpecificSettings() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- getVersion() - Method in class org.glassfish.ha.store.util.SimpleMetadata
-
Get the verion of the state.
H
- HashableKey - Interface in org.glassfish.ha.store.api
-
This interface is implemented by objects that are used as Keys in BackingStore operations.
I
- initialize(BackingStoreConfiguration<K, V>) - Method in class org.glassfish.ha.store.api.BackingStore
- isHashKeyAttribute() - Method in interface org.glassfish.ha.store.spi.AttributeMetadata
- isSynchronousSave() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- isVersionAttribute() - Method in interface org.glassfish.ha.store.spi.AttributeMetadata
K
- keyToByteArray(K) - Method in interface org.glassfish.ha.store.util.KeyTransformer
-
Called from BackingStore implementation to convert the given key into byte[]
- KeyTransformer<K> - Interface in org.glassfish.ha.store.util
L
- literal(Class<T>, T) - Method in class org.glassfish.ha.store.criteria.ExpressionBuilder
- load(K, String) - Method in class org.glassfish.ha.store.api.BackingStore
-
Load and return the data for the given id.
- loader - Variable in class org.glassfish.ha.store.spi.ObjectInputStreamWithLoader
M
- MutableStoreEntry - Interface in org.glassfish.ha.store.spi
-
A Storeable is an interface that must be implemented by objects that are to be presisted in the store.
N
- name() - Method in annotation type org.glassfish.ha.store.annotations.Version
- NO_OP_PERSISTENCE_TYPE - Static variable in class org.glassfish.ha.store.api.BackingStoreConfiguration
O
- ObjectInputOutputStreamFactory - Interface in org.glassfish.ha.store.spi
- ObjectInputOutputStreamFactoryRegistry - Class in org.glassfish.ha.store.spi
-
Temporary class till we figure out how to reuse a similar class in naming module.
- ObjectInputOutputStreamFactoryRegistry() - Constructor for class org.glassfish.ha.store.spi.ObjectInputOutputStreamFactoryRegistry
- ObjectInputStreamWithLoader - Class in org.glassfish.ha.store.spi
-
This subclass of ObjectInputStream delegates loading of classes to an existing ClassLoader.
- ObjectInputStreamWithLoader(InputStream, ClassLoader) - Constructor for class org.glassfish.ha.store.spi.ObjectInputStreamWithLoader
-
Loader must be non-null;
- org.glassfish.ha.api - module org.glassfish.ha.api
- org.glassfish.ha.store.annotations - package org.glassfish.ha.store.annotations
- org.glassfish.ha.store.api - package org.glassfish.ha.store.api
- org.glassfish.ha.store.criteria - package org.glassfish.ha.store.criteria
- org.glassfish.ha.store.spi - package org.glassfish.ha.store.spi
- org.glassfish.ha.store.util - package org.glassfish.ha.store.util
P
- process(K, V) - Method in interface org.glassfish.ha.store.api.StoreEntryProcessor
R
- register(String, BackingStoreFactory) - Static method in class org.glassfish.ha.store.spi.BackingStoreFactoryRegistry
- remove(K) - Method in class org.glassfish.ha.store.api.BackingStore
-
Remove the association for the id.
- removeExpired() - Method in class org.glassfish.ha.store.api.BackingStore
-
Remove expired entries
- removeExpired(long) - Method in class org.glassfish.ha.store.api.BackingStore
- resolveClass(ObjectStreamClass) - Method in class org.glassfish.ha.store.spi.ObjectInputStreamWithLoader
-
Use the given ClassLoader rather than using the system class
S
- save(K, V, boolean) - Method in class org.glassfish.ha.store.api.BackingStore
-
Save the value whose key is id.
- setBaseDirectory(File) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setClassLoader(ClassLoader) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setClusterName(String) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setCriteria(Expression<Boolean>) - Method in class org.glassfish.ha.store.criteria.ExpressionBuilder
- setExpression(Expression<Boolean>) - Method in class org.glassfish.ha.store.criteria.Criteria
- setInstanceName(String) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setKeyClazz(Class<K>) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setLastAccessTime(long) - Method in class org.glassfish.ha.store.util.SimpleMetadata
- setLogger(Logger) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setMaxIdleTimeInSeconds(long) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setMaxInactiveInterval(long) - Method in class org.glassfish.ha.store.util.SimpleMetadata
- setMaxLoadWaitTimeInSeconds(long) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setRelaxVersionCheck(String) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setShortUniqueName(String) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setStartGroupService(boolean) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setState(byte[]) - Method in class org.glassfish.ha.store.util.SimpleMetadata
- setStoreName(String) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setStoreType(String) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setSynchronousSave(boolean) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setTypicalPayloadSizeInKiloBytes(long) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setValueClazz(Class<V>) - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- setVersion(long) - Method in class org.glassfish.ha.store.util.SimpleMetadata
- SimpleMetadata - Class in org.glassfish.ha.store.util
- SimpleMetadata() - Constructor for class org.glassfish.ha.store.util.SimpleMetadata
- SimpleMetadata(long, long, long, byte[]) - Constructor for class org.glassfish.ha.store.util.SimpleMetadata
-
Construct a SimpleMetadata object
- size() - Method in class org.glassfish.ha.store.api.BackingStore
-
Get the current size of the store
- START_GMS - Static variable in class org.glassfish.ha.store.api.BackingStoreConfiguration
- Storable - Interface in org.glassfish.ha.store.spi
-
A Storeable is an interface that must be implemented by objects that are to be presisted in the store.
- StorableMap<K,V> - Interface in org.glassfish.ha.store.spi
- Storeable - Interface in org.glassfish.ha.store.api
-
A Storeable is an interface that must be implemented by objects that are to be presisted in the backing store.
- StoreEntry - Annotation Type in org.glassfish.ha.store.annotations
-
An annotation to describe a class as a SToreEntry.
- StoreEntryEvaluator<K,V> - Interface in org.glassfish.ha.store.spi
- StoreEntryMetadata<S> - Interface in org.glassfish.ha.store.spi
- StoreEntryProcessor<K,V extends Serializable> - Interface in org.glassfish.ha.store.api
T
- toString() - Method in class org.glassfish.ha.store.api.BackingStoreConfiguration
- toString() - Method in class org.glassfish.ha.store.util.SimpleMetadata
- Transient - Annotation Type in org.glassfish.ha.store.annotations
-
Annotation to declare a non Attribute of a StoreEntry.
U
- unregister(String) - Static method in class org.glassfish.ha.store.spi.BackingStoreFactoryRegistry
-
Will be called by Store's Lifecycle module to unregister the factory class name.
- updateTimestamp(K, long) - Method in class org.glassfish.ha.store.api.BackingStore
-
TODO: BEGIN: REMOVE after shoal integration
- updateTimestamp(K, String, Long) - Method in class org.glassfish.ha.store.api.BackingStore
-
Recomended way is to just do a save(k, v)
V
- value() - Method in annotation type org.glassfish.ha.store.annotations.Attribute
- value() - Method in annotation type org.glassfish.ha.store.annotations.StoreEntry
- Version - Annotation Type in org.glassfish.ha.store.annotations
-
An annotation that can be used to declare a String Attribute as a Version.
_
- _getAttributeValue(String, Class<T>) - Method in interface org.glassfish.ha.store.spi.Storable
- _getDirtyAttributeNames() - Method in interface org.glassfish.ha.store.spi.Storable
-
An array of boolean indicating if the corresponding attribute is dirty (true) or not (false)
- _getOwnerInstanceName() - Method in interface org.glassfish.ha.store.spi.Storable
- _getVersion() - Method in interface org.glassfish.ha.store.spi.Storable
-
Get the version of this entry.
- _markAsClean(int) - Method in interface org.glassfish.ha.store.spi.MutableStoreEntry
-
The String that can be used by the store implementation to hash the StoreEntry
- _markAsDirty(int) - Method in interface org.glassfish.ha.store.spi.MutableStoreEntry
-
The store name for which this Storable was created
- _markStoreEntryAsClean() - Method in interface org.glassfish.ha.store.spi.MutableStoreEntry
-
Get the version of this entry.
- _markStoreEntryAsDirty() - Method in interface org.glassfish.ha.store.spi.MutableStoreEntry
-
Mark the entire store entry as dirty
- _setOwnerId(String) - Method in interface org.glassfish.ha.store.spi.MutableStoreEntry
-
Set the replicating ownerid
- _storeable_getAttributeNames() - Method in interface org.glassfish.ha.store.api.Storeable
-
Providers can cache this
- _storeable_getAttributeNames() - Method in class org.glassfish.ha.store.util.SimpleMetadata
- _storeable_getDirtyStatus() - Method in interface org.glassfish.ha.store.api.Storeable
-
Providers can cache this
- _storeable_getDirtyStatus() - Method in class org.glassfish.ha.store.util.SimpleMetadata
- _storeable_getLastAccessTime() - Method in interface org.glassfish.ha.store.api.Storeable
- _storeable_getLastAccessTime() - Method in class org.glassfish.ha.store.util.SimpleMetadata
- _storeable_getMaxIdleTime() - Method in interface org.glassfish.ha.store.api.Storeable
- _storeable_getMaxIdleTime() - Method in class org.glassfish.ha.store.util.SimpleMetadata
- _storeable_getVersion() - Method in interface org.glassfish.ha.store.api.Storeable
-
Get the version of this entry.
- _storeable_getVersion() - Method in class org.glassfish.ha.store.util.SimpleMetadata
- _storeable_readState(InputStream) - Method in interface org.glassfish.ha.store.api.Storeable
- _storeable_readState(InputStream) - Method in class org.glassfish.ha.store.util.SimpleMetadata
- _storeable_setLastAccessTime(long) - Method in interface org.glassfish.ha.store.api.Storeable
- _storeable_setLastAccessTime(long) - Method in class org.glassfish.ha.store.util.SimpleMetadata
- _storeable_setMaxIdleTime(long) - Method in interface org.glassfish.ha.store.api.Storeable
- _storeable_setMaxIdleTime(long) - Method in class org.glassfish.ha.store.util.SimpleMetadata
- _storeable_setVersion(long) - Method in interface org.glassfish.ha.store.api.Storeable
- _storeable_setVersion(long) - Method in class org.glassfish.ha.store.util.SimpleMetadata
- _storeable_writeState(OutputStream) - Method in interface org.glassfish.ha.store.api.Storeable
- _storeable_writeState(OutputStream) - Method in class org.glassfish.ha.store.util.SimpleMetadata
All Classes All Packages