Package | Description |
---|---|
com.kabira.platform |
Managed Object Services
|
com.kabira.platform.flusher |
Named Cache Flush Notifications
|
com.kabira.platform.highavailability |
High Availability
|
com.kabira.store |
Secondary store notifiers.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheManager.Cache.addClass(java.lang.Class<?> klass)
Associate the given class to a cache.
|
static int |
ManagedObject.cardinality(java.lang.Class<?> klass)
Returns the number of instances of the given class.
|
static int |
ManagedObject.cardinality(java.lang.Class<?> klass,
QueryScope queryScope)
Returns the number of instances of the given class.
|
static Notifier<?> |
CacheManager.CacheFlusher.clearNotifier(java.lang.Class<?> managedClass)
Clear the flush notifier for the given managed class.
|
static void |
ManagedObject.delete(java.lang.Object operand)
Deletes a Managed object.
|
static <T> java.lang.Iterable<T> |
ManagedObject.extent(java.lang.Class<T> klass)
Returns all shared memory instances of a Managed type.
|
static <T> java.lang.Iterable<T> |
ManagedObject.extent(java.lang.Class<T> klass,
LockMode objectLock)
Returns all shared memory instances of a Managed type,
with an explicit transaction lock taken on each instance
as it is iterated.
|
static <T> java.lang.Iterable<T> |
ManagedObject.extent(java.lang.Class<T> klass,
QueryScope queryScope,
LockMode objectLock)
Returns all shared memory instances of a Managed type,
with an explicit transaction lock taken on each instance
as it is iterated.
|
static void |
CacheManager.CacheFlusher.flush(java.lang.Object object)
Flush a Managed object from shared memory.
|
static byte[] |
KeyManager.getKeyData(java.lang.Object obj,
java.lang.String keyName)
Access the key data for the given object and key.
|
static int |
ManagedObject.hashCode(java.lang.Object o)
Returns a hash code based on the underlying shared memory object.
|
static boolean |
ManagedObject.isEmpty(java.lang.Object operand)
Determines if the backing shared memory object has been deleted.
|
static Notifier<?> |
CacheManager.CacheFlusher.setNotifier(Notifier<?> notifier)
Associate a flush notifier with a Managed class.
|
static void |
KeyManager.updateIndexes(java.lang.Object obj)
Update the key indexes for the given object.
|
Constructor and Description |
---|
Notifier(java.lang.Class<T> flushTypeClass)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
PartitionManager.clearMapper(java.lang.Class<?> managedClass)
Clear a mapper for a given managed class.
|
static Partition |
PartitionManager.getObjectPartition(java.lang.Object obj)
Get the partition an object is in.
|
static void |
PartitionManager.repartitionInstance(java.lang.Object obj)
Move the instance from the current partition (if any) to
the partition defined by the installed mapper for the object class.
|
static void |
PartitionManager.setMapper(java.lang.Class<?> managedClass,
PartitionMapper partitionMapper)
Associate a mapper to a given managed class.
|
static PartitionMapper |
PartitionManager.setMapper(java.lang.Class<?> managedClass,
PartitionMapper partitionMapper,
PartitionMapper.Properties mapperProperties)
Associate a mapper to a given managed class.
|
Constructor and Description |
---|
Extent(java.lang.Class<T> klass)
Constructor.
|
Query(java.lang.Class<T> klass,
java.lang.String keyName)
Constructor.
|
Record(java.lang.Class<T> klass)
Constructor.
|