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 WriteModifiers |
WriteModifiers.MEMORY_ONLY_SEARCH
Look only in memory for existence of entry with the same ID - do not use the underlying
external data source.
|
static WriteModifiers |
WriteModifiers.NONE
Empty - use operation default behavior.
|
static WriteModifiers |
WriteModifiers.ONE_WAY
Operation is executed in one way mode, meaning no return value will be provided.
|
static WriteModifiers |
WriteModifiers.PARTIAL_UPDATE
Update only non-null properties, ignore null properties.
|
static WriteModifiers |
WriteModifiers.RETURN_PREV_ON_UPDATE
If the entry already exists in the space, return the old entry in the result.
|
static WriteModifiers |
WriteModifiers.UPDATE_ONLY
If the entry does not exists in the space throw an EntryNotInSpaceException.
|
static WriteModifiers |
WriteModifiers.UPDATE_OR_WRITE
If the entry does not exists in the space it is written, otherwise it is updated.
|
static WriteModifiers |
WriteModifiers.WRITE_ONLY
If the entry already exists in the space throw an EntryAlreadyInSpaceException.
|
Modifier and Type | Method and Description |
---|---|
WriteModifiers |
WriteModifiers.add(WriteModifiers modifiers)
Creates a new modifiers instance which is a union of the specified modifiers and this
instance.
|
protected WriteModifiers |
WriteModifiers.create(int modifiers) |
WriteModifiers |
WriteModifiers.remove(WriteModifiers modifiers)
Creates a new modifiers instance which excludes the specified modifiers from this instance.
|
Modifier and Type | Method and Description |
---|---|
WriteModifiers |
WriteModifiers.add(WriteModifiers modifiers)
Creates a new modifiers instance which is a union of the specified modifiers and this
instance.
|
boolean |
WriteModifiers.contains(WriteModifiers modifiers)
Checks if the specified modifier is set.
|
WriteModifiers |
WriteModifiers.remove(WriteModifiers modifiers)
Creates a new modifiers instance which excludes the specified modifiers from this instance.
|
Constructor and Description |
---|
WriteModifiers(WriteModifiers... modifiers)
Creates a new modifiers from the specified modifiers.
|
WriteModifiers(WriteModifiers modifiers1,
WriteModifiers modifiers2)
Creates a new modifiers from the specified modifiers.
|
WriteModifiers(WriteModifiers modifiers1,
WriteModifiers modifiers2,
WriteModifiers modifiers3)
Creates a new modifiers from the specified modifiers.
|
Modifier and Type | Method and Description |
---|---|
WriteModifiers |
GigaSpace.getDefaultWriteModifiers()
Gets the default
WriteModifiers set during this GigaSpace configuration. |
WriteModifiers |
DefaultGigaSpace.getDefaultWriteModifiers() |
WriteModifiers |
GigaSpaceConfigurer.getDefaultWriteModifiers() |
Modifier and Type | Method and Description |
---|---|
GigaSpaceConfigurer |
GigaSpaceConfigurer.defaultWriteModifiers(WriteModifiers defaultWriteModifiers)
Set the default
WriteModifiers to be used for write operations on the GigaSpace instance. |
void |
DefaultGigaSpace.setDefaultWriteModifiers(WriteModifiers modifiers)
Sets the default
WriteModifiers when excecution DefaultGigaSpace.write(Object) |
void |
GigaSpaceFactoryBean.setDefaultWriteModifiers(WriteModifiers[] defaultWriteModifiers)
Set the default
WriteModifiers to be used for write operations on the GigaSpace instance. |
<T> LeaseContext<T> |
GigaSpace.write(T entry,
long lease,
long timeout,
WriteModifiers modifiers)
Writes a new object to the space, returning its
LeaseContext . |
<T> LeaseContext<T> |
DefaultGigaSpace.write(T entry,
long lease,
long timeout,
WriteModifiers modifiers) |
<T> LeaseContext<T> |
GigaSpace.write(T entry,
WriteModifiers modifiers)
Writes a new object to the space, returning its
LeaseContext . |
<T> LeaseContext<T> |
DefaultGigaSpace.write(T entry,
WriteModifiers modifiers) |
<T> LeaseContext<T>[] |
GigaSpace.writeMultiple(T[] entries,
long[] leases,
long timeout,
WriteModifiers modifiers)
Writes the specified entries to this space.
|
<T> LeaseContext<T>[] |
DefaultGigaSpace.writeMultiple(T[] entries,
long[] leases,
long timeout,
WriteModifiers modifiers) |
<T> LeaseContext<T>[] |
GigaSpace.writeMultiple(T[] entries,
long[] leases,
WriteModifiers modifiers)
Writes the specified entries to this space.
|
<T> LeaseContext<T>[] |
DefaultGigaSpace.writeMultiple(T[] entries,
long[] leases,
WriteModifiers modifiers) |
<T> LeaseContext<T>[] |
GigaSpace.writeMultiple(T[] entries,
long lease,
long timeout,
WriteModifiers modifiers)
Writes the specified entries to this space.
|
<T> LeaseContext<T>[] |
DefaultGigaSpace.writeMultiple(T[] entries,
long lease,
long timeout,
WriteModifiers modifiers) |
<T> LeaseContext<T>[] |
GigaSpace.writeMultiple(T[] entries,
long lease,
WriteModifiers modifiers)
Writes the specified entries to this space.
|
<T> LeaseContext<T>[] |
DefaultGigaSpace.writeMultiple(T[] entries,
long lease,
WriteModifiers modifiers) |
<T> LeaseContext<T>[] |
GigaSpace.writeMultiple(T[] entries,
WriteModifiers modifiers)
Writes the specified entries to this space.
|
<T> LeaseContext<T>[] |
DefaultGigaSpace.writeMultiple(T[] entries,
WriteModifiers modifiers) |
Copyright © GigaSpaces.