public class ClearModifiers extends SpaceProxyOperationModifiers
Modifier and Type | Field and Description |
---|---|
static ClearModifiers |
EVICT_ONLY
Remove matching entries from memory only (do not remove from the underlying EDS).
|
static ClearModifiers |
MEMORY_ONLY_SEARCH
Search for matching entries in cache memory only (do not use the underlying EDS).
|
static ClearModifiers |
NONE
Empty - use operation default behavior.
|
Constructor and Description |
---|
ClearModifiers() |
ClearModifiers(ClearModifiers... modifiers)
Creates a new modifiers from the specified modifiers.
|
ClearModifiers(ClearModifiers modifiers1,
ClearModifiers modifiers2)
Creates a new modifiers from the specified modifiers.
|
ClearModifiers(ClearModifiers modifiers1,
ClearModifiers modifiers2,
ClearModifiers modifiers3)
Creates a new modifiers from the specified modifiers.
|
Modifier and Type | Method and Description |
---|---|
ClearModifiers |
add(ClearModifiers modifiers)
Creates a new modifiers instance which is a union of the specified modifiers and this
instance.
|
boolean |
contains(ClearModifiers modifiers)
Checks if the specified modifier is set.
|
protected ClearModifiers |
create(int modifiers) |
protected Map<Integer,SpaceProxyOperationModifiers> |
getCache() |
boolean |
isEvictOnly()
Checks if this instance contains the
EVICT_ONLY setting. |
boolean |
isMemoryOnlySearch()
Checks if this instance contains the
MEMORY_ONLY_SEARCH setting. |
ClearModifiers |
remove(ClearModifiers modifiers)
Creates a new modifiers instance which excludes the specified modifiers from this instance.
|
add, contains, createIfNeeded, equals, getCode, hashCode, readExternal, remove, writeExternal
public static final ClearModifiers NONE
public static final ClearModifiers EVICT_ONLY
public static final ClearModifiers MEMORY_ONLY_SEARCH
public ClearModifiers()
public ClearModifiers(ClearModifiers modifiers1, ClearModifiers modifiers2)
public ClearModifiers(ClearModifiers modifiers1, ClearModifiers modifiers2, ClearModifiers modifiers3)
public ClearModifiers(ClearModifiers... modifiers)
public boolean contains(ClearModifiers modifiers)
public ClearModifiers add(ClearModifiers modifiers)
modifiers
- Modifiers to add.public ClearModifiers remove(ClearModifiers modifiers)
modifiers
- Modifiers to remove.public boolean isEvictOnly()
EVICT_ONLY
setting.EVICT_ONLY
setting, false otherwise.public boolean isMemoryOnlySearch()
MEMORY_ONLY_SEARCH
setting.MEMORY_ONLY_SEARCH
setting, false
otherwise.protected ClearModifiers create(int modifiers)
create
in class SpaceProxyOperationModifiers
protected Map<Integer,SpaceProxyOperationModifiers> getCache()
getCache
in class SpaceProxyOperationModifiers
Copyright © GigaSpaces.