Package | Description |
---|---|
com.kabira.platform |
Managed Object Services
|
com.kabira.platform.highavailability |
High Availability
|
Modifier and Type | Method and Description |
---|---|
static int |
ManagedObject.cardinality(java.lang.Class<?> klass,
QueryScope queryScope)
Returns the number of instances of the given class.
|
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.
|
void |
KeyQuery.setQueryScope(QueryScope queryScope)
Set the scope of query.
|
Modifier and Type | Method and Description |
---|---|
static void |
PartitionManager.clearMapper(java.lang.String typeName)
Clear a mapper for a given type.
|
static void |
PartitionManager.definePartition(java.lang.String partitionName,
Partition.Properties partitionProperties,
java.lang.String activeNode,
ReplicaNode[] replicas)
Define a partition.
|
void |
Partition.disable(PartitionManager.DisableAction disableAction)
Disable high availability for this partition.
|
static void |
PartitionManager.disablePartitions(PartitionManager.DisableAction disableAction)
Disable high availability for the all partitions defined on the node.
|
void |
Partition.enable(PartitionManager.EnableAction enableAction)
Enable high availability for this partition.
|
static void |
PartitionManager.enablePartitions(PartitionManager.EnableAction enableAction)
Enable high availability for the all partitions defined on the node.
|
static void |
PartitionManager.getRemotePartitions(java.lang.String remoteNode)
Create local copies of all partition defined by the remote node.
|
static PartitionMapper |
PartitionManager.setMapper(java.lang.String typeName,
PartitionMapper partitionMapper,
PartitionMapper.Properties mapperProperties)
Associate a mapper to a given shared memory type.
|
static void |
PartitionManager.waitForNode(java.lang.String remoteNode)
Wait for a remote node to become available.
|