Package | Description |
---|---|
com.gigaspaces.client |
Deprecated: use
org.openspaces.core instead. |
org.openspaces.core |
Top level core package holding main OpenSpaces API for Space (GigaSpace) and Map (GigaMap) and
the ability to create it.
|
Modifier and Type | Field and Description |
---|---|
static CountModifiers |
CountModifiers.DIRTY_READ
When a search for matching entries encounters an entry locked under a different uncommitted transaction,
the lock is ignored and matching is performed on the uncommitted state.
|
static CountModifiers |
CountModifiers.EXCLUSIVE_READ_LOCK
The resulting entries are locked, blocking update/remove from other transactions.
|
static CountModifiers |
CountModifiers.MEMORY_ONLY_SEARCH
Search for matching entries in cache memory only (do not use the underlying EDS).
|
static CountModifiers |
CountModifiers.NONE
Empty - use operation default behavior.
|
static CountModifiers |
CountModifiers.READ_COMMITTED
When a search for matching entries encounters an entry locked under a different uncommitted transaction,
the lock is honored and matching is performed on the committed state.
|
static CountModifiers |
CountModifiers.REPEATABLE_READ
When a search for matching entries encounters an entry locked under a different uncommitted transaction,
the lock is honored and the entry is skipped (if the operation is invoked with a timeout
it will block until the entry will be released or the timeout expires).
|
Modifier and Type | Method and Description |
---|---|
CountModifiers |
CountModifiers.add(CountModifiers modifiers)
Creates a new modifiers instance which is a union of the specified modifiers and this instance.
|
protected CountModifiers |
CountModifiers.create(int modifiers) |
CountModifiers |
CountModifiers.remove(CountModifiers modifiers)
Creates a new modifiers instance which excludes the specified modifiers from this instance.
|
CountModifiers |
CountModifiers.setIsolationLevel(CountModifiers isolationLevel)
Creates a new modifiers instance with the specified isolation level set
and any other isolation level unset.
|
Modifier and Type | Method and Description |
---|---|
CountModifiers |
CountModifiers.add(CountModifiers modifiers)
Creates a new modifiers instance which is a union of the specified modifiers and this instance.
|
boolean |
CountModifiers.contains(CountModifiers modifiers)
Checks if the specified modifier is set.
|
CountModifiers |
CountModifiers.remove(CountModifiers modifiers)
Creates a new modifiers instance which excludes the specified modifiers from this instance.
|
CountModifiers |
CountModifiers.setIsolationLevel(CountModifiers isolationLevel)
Creates a new modifiers instance with the specified isolation level set
and any other isolation level unset.
|
Constructor and Description |
---|
CountModifiers(CountModifiers... modifiers)
Creates a new modifiers from the specified modifiers.
|
CountModifiers(CountModifiers modifiers1,
CountModifiers modifiers2)
Creates a new modifiers from the specified modifiers.
|
CountModifiers(CountModifiers modifiers1,
CountModifiers modifiers2,
CountModifiers modifiers3)
Creates a new modifiers from the specified modifiers.
|
Modifier and Type | Method and Description |
---|---|
CountModifiers |
DefaultGigaSpace.getDefaultCountModifiers() |
CountModifiers |
GigaSpace.getDefaultCountModifiers()
Gets the default
CountModifiers set during this GigaSpace configuration. |
static CountModifiers |
IsolationLevelHelpers.mergeWithIsolationLevelModifiersIfNeeded(CountModifiers modifiers,
GigaSpace gigaSpace) |
static CountModifiers |
IsolationLevelHelpers.toCountModifiers(int isolationLevel) |
Modifier and Type | Method and Description |
---|---|
int |
DefaultGigaSpace.count(Object template,
CountModifiers modifiers) |
int |
GigaSpace.count(Object template,
CountModifiers modifiers)
Count any matching entries from the space.
|
GigaSpaceConfigurer |
GigaSpaceConfigurer.defaultCountModifiers(CountModifiers defaultCountModifiers) |
static CountModifiers |
IsolationLevelHelpers.mergeWithIsolationLevelModifiersIfNeeded(CountModifiers modifiers,
GigaSpace gigaSpace) |
void |
DefaultGigaSpace.setDefaultCountModifiers(CountModifiers defaultCountModifiers)
Sets the default
CountModifiers when excecution DefaultGigaSpace.count(Object) |
void |
GigaSpaceFactoryBean.setDefaultCountModifiers(CountModifiers[] defaultCountModifiers)
Set the default
CountModifiers to be used for count operations
on the GigaSpace instance. |
Copyright © GigaSpaces.