Package | Description |
---|---|
com.kabira.platform |
Managed Object Services
|
Modifier and Type | Field and Description |
---|---|
static QueryScope |
QueryScope.QUERY_CLUSTER
The query will be done on all active nodes in the cluster.
|
static QueryScope |
QueryScope.QUERY_LOCAL
The query will be done only on the local node.
|
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.
|