The Space type exposes the following members.
Methods
Name | Description | |
---|---|---|
Browse(BrowserDef..::..BrowserType) | Creates a browser over multiple entries in the Space. | |
Browse(BrowserDef..::..BrowserType, BrowserDef) | Creates a browser over multiple entries in the Space. | |
Browse(BrowserDef..::..BrowserType, BrowserDef, String) | Creates a browser over multiple entries in the Space which match the specified filter. | |
BrowseEvents(EventBrowserDef) | Creates an EventBrowser. | |
BrowseEvents(EventBrowserDef, String) | Creates an EventBrowser over all the events in the Space which match the specified filter. | |
Clear()()()() |
Deletes all tuples in the Space. Equivalent to Clear("")
| |
Clear(String) |
Deletes from the Space the tuples that match the specified filter on a "best effort" basis.
If no filter is specified, all tuples are deleted.
This operation does not block other space operations while it is ongoing, so if other clients
perform write operations on entries already removed but before the clear finishes, it might be
the case that the space contains tuples that match the filter after the clear completes. Thus,
it is up to the application to synchronize its clients to guarantee that no write operations
happen while the clear is ongoing if the intent is to clear all entries present in the space at the
time clear is invoked.
Internally, this operation, among other tasks, executes a series of small queries with the provided
filter. Depending on the filter string and the indexing of the space, there is the possibility
that one of these queries results in a linear scan that takes a significant amount of time.
If that were to happen, one or more of the space seeders will log a message warning that
a long query was executed some seconds after the user executes this call.
To fix this problem, the user should update the filter string or add extra secondary indices
in order to avoid long linear scans.
Persistence behaviour
When share-all persistence is used, this method does not trigger onWrite callbacks.
It is user's responsibility to perform clear on the back-end database.
When share-nothing persistence is used, the in memory space data is kept synchronized with
the persistence files and entries are removed from file as well.
Listener behaviour
Listeners do not get callbacks for takes performed along with clear execution.
| |
Close |
Invalidates this Space reference with the distribution role it initialized with. If this is the last
reference, current process will leave the space.
| |
CloseAll |
Forcefully leaves the space and stops and invalidates existing listeners and browsers created on the space.
| |
CompareAndPut(Tuple, Tuple) |
Specifies a tuple to look for. If the old value is unmodified, replaces the existing tuple with the
specified value. If there is a mismatch returns the existing value. User does not need to do another get
to retrieve the current value in Space.
| |
CompareAndPut(Tuple, Tuple, PutOptions) |
Same as CompareAndPut(Tuple, Tuple) with PutOptions to specify put options
| |
CompareAndPutAll(ICollection<(Of <<'(Tuple>)>>), ICollection<(Of <<'(Tuple>)>>)) |
Batch CompareAndPut operation
| |
CompareAndPutAll(ICollection<(Of <<'(Tuple>)>>), ICollection<(Of <<'(Tuple>)>>), PutOptions) |
Batch CompareAndPut operation with PutOptions
| |
CompareAndPutAll(ICollection<(Of <<'(Tuple>)>>), ICollection<(Of <<'(Tuple>)>>), ICollection<(Of <<'(PutOptions>)>>)) |
Batch CompareAndPut operation with PutOptions
| |
CompareAndTake(Tuple) |
Looks for a tuple containing a specified value, and if it is found, takes the tuple value. If there is
no mismatch compareAndTake returns same java object given as oldTuple
| |
CompareAndTake(Tuple, TakeOptions) |
Looks for a tuple containing a specified value, and if it is found, takes the tuple value. If there is
no mismatch compareAndTake returns same java object given as oldTuple
| |
CompareAndTakeAll(ICollection<(Of <<'(Tuple>)>>)) |
Batch CompareAndTake operation
| |
CompareAndTakeAll(ICollection<(Of <<'(Tuple>)>>), TakeOptions) |
Batch CompareAndTake operation with TakeOptions
| |
ExplainQuery |
Returns A string that describes the cost of the query execution in each seeder
| |
Get(String) |
The list of matching entries
| |
Get(Tuple) |
Get the tuple
| |
Get(Tuple, GetOptions) |
Get the tuple
| |
GetAll(ICollection<(Of <<'(Tuple>)>>)) |
Batch Get operation
| |
GetAll(ICollection<(Of <<'(Tuple>)>>), GetOptions) |
Batch Get operation with GetOptions
| |
GetAll(ICollection<(Of <<'(Tuple>)>>), ICollection<(Of <<'(GetOptions>)>>)) |
Batch Get operation with GetOptions
| |
Invoke(Tuple, InvokeOptions) |
Invokes the appropriate invoke method of the specified class on the Member that seeds (or would seed if there is currently no entry stored in the space for that key) the entry associated with the key specified in tuple
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
Invoke(Tuple, String, Tuple) | Obsolete.
Invokes the appropriate invoke method of the specified class on the Member that seeds (or would seed if there is currently no entry stored in the space for that key) the entry associated with the key specified in tuple
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
Invoke(Tuple, String, Tuple, InvokeOptions) | Obsolete.
Invokes the appropriate invoke method of the specified class on the Member that seeds (or would seed if there is currently no entry stored in the space for that key) the entry associated with the key specified in tuple
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
Invoke(Tuple, String, Tuple, InvokeResultHandler) | Obsolete.
Invokes the appropriate invoke method of the specified class on the Member that seeds (or would seed if there is currently no entry stored in the space for that key) the entry associated with the key specified in tuple
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
Invoke(Tuple, String, Tuple, InvokeResultHandler, InvokeOptions) | Obsolete.
Invokes the appropriate invoke method of the specified class on the Member that seeds (or would seed if there is currently no entry stored in the space for that key) the entry associated with the key specified in tuple
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
Invoke<(Of <<'(T>)>>)(Tuple, Tuple) | Obsolete.
Invokes the appropriate invoke method of the specified class on the Member that seeds (or would seed if there is currently no entry stored in the space for that key) the entry associated with the key specified in tuple
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
Invoke<(Of <<'(T>)>>)(Tuple, Tuple, InvokeOptions) | Obsolete.
Invokes the appropriate invoke method of the specified class on the Member that seeds (or would seed if there is currently no entry stored in the space for that key) the entry associated with the key specified in tuple
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
Invoke<(Of <<'(T>)>>)(Tuple, Tuple, InvokeResultHandler) | Obsolete.
Invokes the appropriate invoke method of the specified class on the Member that seeds (or would seed if there is currently no entry stored in the space for that key) the entry associated with the key specified in tuple
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
Invoke<(Of <<'(T>)>>)(Tuple, Tuple, InvokeResultHandler, InvokeOptions) | Obsolete.
Invokes the appropriate invoke method of the specified class on the Member that seeds (or would seed if there is currently no entry stored in the space for that key) the entry associated with the key specified in tuple
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeLeeches(InvokeOptions) |
Invokes the appropriate invoke method of the specified class on all the leeches
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeLeeches(Tuple, String) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's leech members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeLeeches(Tuple, String, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's leech members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeLeeches(Tuple, String, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeLeeches(Tuple, String, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeLeeches<(Of <<'(T>)>>)(Tuple) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's leech members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeLeeches<(Of <<'(T>)>>)(Tuple, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's leech members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeLeeches<(Of <<'(T>)>>)(Tuple, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeLeeches<(Of <<'(T>)>>)(Tuple, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMember(Member, InvokeOptions) |
Invokes the appropriate invoke method of the specified class on the specified Member
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMember(Member, String, Tuple) | Obsolete.
Invokes the appropriate invoke method of the specified class on the specific space member passed as an argument.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMember(Member, String, Tuple, InvokeOptions) | Obsolete.
Invokes the appropriate invoke method of the specified class on the specific space member passed as an argument.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMember(Member, String, Tuple, InvokeResultHandler) | Obsolete.
Invokes the appropriate invoke method of the specified class on the specific space member passed as an argument.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMember(Member, String, Tuple, InvokeResultHandler, InvokeOptions) | Obsolete.
Invokes the appropriate invoke method of the specified class on the specific space member passed as an argument.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMember<(Of <<'(T>)>>)(Member, Tuple) | Obsolete.
Invokes the appropriate invoke method of the specified class on the specific space member passed as an argument.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMember<(Of <<'(T>)>>)(Member, Tuple, InvokeOptions) | Obsolete.
Invokes the appropriate invoke method of the specified class on the specific space member passed as an argument.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMember<(Of <<'(T>)>>)(Member, Tuple, InvokeResultHandler) | Obsolete.
Invokes the appropriate invoke method of the specified class on the specific space member passed as an argument.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMember<(Of <<'(T>)>>)(Member, Tuple, InvokeResultHandler, InvokeOptions) | Obsolete.
Invokes the appropriate invoke method of the specified class on the specific space member passed as an argument.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(InvokeOptions) |
Invokes the appropriate invoke method of the specified class on all the Members (Seeders and Leeches)
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(ICollection<(Of <<'(Member>)>>), InvokeOptions) |
Invokes the appropriate invoke method of the specified class on the specified Members
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(Tuple, String) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(ICollection<(Of <<'(Member>)>>), Tuple, String) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(Tuple, String, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(Tuple, String, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(ICollection<(Of <<'(Member>)>>), Tuple, String, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(ICollection<(Of <<'(Member>)>>), Tuple, String, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(Tuple, String, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers(ICollection<(Of <<'(Member>)>>), Tuple, String, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers<(Of <<'(T>)>>)(Tuple) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers<(Of <<'(T>)>>)(ICollection<(Of <<'(Member>)>>), Tuple) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers<(Of <<'(T>)>>)(Tuple, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers<(Of <<'(T>)>>)(Tuple, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers<(Of <<'(T>)>>)(ICollection<(Of <<'(Member>)>>), Tuple, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers<(Of <<'(T>)>>)(ICollection<(Of <<'(Member>)>>), Tuple, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers<(Of <<'(T>)>>)(Tuple, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeMembers<(Of <<'(T>)>>)(ICollection<(Of <<'(Member>)>>), Tuple, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeRemoteMembers(InvokeOptions) |
Invokes the appropriate invoke method of the specified class on all the remote members
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeRemoteMembers(Tuple, String) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's remote clients.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeRemoteMembers(Tuple, String, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's remote clients.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeRemoteMembers(Tuple, String, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeRemoteMembers(Tuple, String, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeRemoteMembers<(Of <<'(T>)>>)(Tuple) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's remote clients.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeRemoteMembers<(Of <<'(T>)>>)(Tuple, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's remote clients.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeRemoteMembers<(Of <<'(T>)>>)(Tuple, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeRemoteMembers<(Of <<'(T>)>>)(Tuple, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeSeeders(InvokeOptions) |
Invokes the appropriate invoke method of the specified class on all the seeders
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeSeeders(Tuple, String) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeSeeders(Tuple, String, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeSeeders(Tuple, String, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeSeeders(Tuple, String, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeSeeders<(Of <<'(T>)>>)(Tuple) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeSeeders<(Of <<'(T>)>>)(Tuple, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeSeeders<(Of <<'(T>)>>)(Tuple, InvokeResultListHandler) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
InvokeSeeders<(Of <<'(T>)>>)(Tuple, InvokeResultListHandler, InvokeOptions) | Obsolete.
Invokes in parallel the appropriate invoke method of the specified class on all of the space's seeding members.
Note that this member MUST have the invoked class present in it's CLASSPATH for the invocation to succeed!
| |
Listen(Listener) | Returns a listener on a space for receiving event notifications. | |
Listen(Listener, ListenerDef) |
Returns a listener on a space for receiving event notifications.
Listener definition can also be supplied to specify the distribution and time scopes.
| |
Listen(Listener, String) |
Returns a listener on a space for receiving notifications on events that match the specified filter.
| |
Listen(Listener, ListenerDef, String) |
Returns a listener on a space for receiving notifications on events that match the specified filter.
Listener definition can also be supplied to specify the distribution and time scopes.
| |
Load |
This function is typically used in an implementation of the Persister.OnLoad() function to load the space.
| |
LoadAll |
Batch Load operation
| |
Lock(Tuple) |
Locks the entry stored in the Space which has the key specified in the given Tuple
| |
Lock(Tuple, LockOptions) |
Locks the entry stored in the Space which has the key specified in the given Tuple
| |
LockAll(ICollection<(Of <<'(Tuple>)>>)) |
Batch Lock operation
| |
LockAll(ICollection<(Of <<'(Tuple>)>>), LockOptions) |
Batch lock operation with LockOptions
| |
Put(Tuple) |
Stores a Tuple into the Space and returns the corresponding entry
| |
Put(Tuple, PutOptions) |
Stores a tuple into the space and returns the corresponding entry, and allows you to specify
a lock wait value, lock or unlock value, and a forget value.
| |
PutAll(ICollection<(Of <<'(Tuple>)>>)) |
Batch Put operation
| |
PutAll(ICollection<(Of <<'(Tuple>)>>), PutOptions) |
Batch Put operation with PutOptions
| |
PutAll(ICollection<(Of <<'(Tuple>)>>), ICollection<(Of <<'(PutOptions>)>>)) |
Batch Put operation with PutOptions
| |
Size()()()() |
Returns number of entries in the space which match a given filter
| |
Size(String) |
Returns number of entries in the space which match a given filter
| |
StopListener | Stops a listener and associated thread that was previously created. | |
StopPersister | Stops the persister and associated thread that was previously created | |
StopRouter | Stops the persister and associated thread that was previously created | |
Take(Tuple) |
Returns and atomically removes from the space the tuple (if one exists) whose Tuple key fields match the
key fields of the Tuple provided.
| |
Take(Tuple, TakeOptions) |
Returns and atomically removes from the space the tuple (if one exists) whose Tuple key fields match the
key fields of the Tuple provided. This method allows you to specify lock wait, lock/unlock/forget options
| |
TakeAll(ICollection<(Of <<'(Tuple>)>>)) |
Batch Take operation
| |
TakeAll(ICollection<(Of <<'(Tuple>)>>), TakeOptions) |
Batch Take operation with TakeOptions
| |
Unlock(Tuple) |
Unlocks the tuple associated with a key tuple value
| |
Unlock(Tuple, UnlockOptions) |
Unlocks the tuple associated with a key tuple value
| |
UnlockAll(ICollection<(Of <<'(Tuple>)>>)) |
Batch Unlock operation
| |
UnlockAll(ICollection<(Of <<'(Tuple>)>>), UnlockOptions) |
Batch Unlock operation with UnlockOptions
| |
Update(String) |
Updates from the Space the tuples that match the specified filter on a "best effort" basis.
If no filter is specified, all tuples are updated.
This operation does not block other space operations while it is ongoing. Thus, it is up to the application
to synchronize its clients to guarantee that no write operations happen while the clear is ongoing.
Internally, this operation, among other tasks, executes a series of small queries with the provided
filter. Depending on the filter string and the indexing of the space, there is the possibility
that one of these queries results in a linear scan that takes a significant amount of time.
If that were to happen, one or more of the space seeders will log a message warning that
a long query was executed some seconds after the user executes this call.
To fix this problem, the user should update the filter string or add extra secondary indices
in order to avoid long linear scans.
| |
Update(Tuple, Tuple) |
Updates a Tuple in the Space. Only the fields in the tuple argument are modified.
| |
Update(Tuple, Tuple, PutOptions) |
Updates a Tuple in the Space. Only the fields in the tuple argument are modified. Allows you to specify
a lock wait value, lock or unlock value and a forget value.
| |
WaitForReady()()()() |
blocks the client code until space is ready for space operations
| |
WaitForReady(Int64) |
blocks the client until space is ready or timeout happens
|
Properties
Name | Description | |
---|---|---|
Count | Get the number of entries in the Space | |
DistributionRole | Sets the space member's distribution role in the Space to leech or seeder. | |
IsReady |
Gets a value indicating whether the space is ready.
| |
Leeches |
Gets the leeches.
| |
Members |
Gets the members.
| |
Metaspace |
Get the metaspace that the space belongs to
| |
MetaspaceName |
Get the metaspace name
| |
Name | The space name | |
Persister | Returns a persister on a space for receiving persistence actions | |
RemoteMembers |
Gets the remote memebrs.
| |
Router | Returns a router on a space for receiving routing actions | |
Seeders |
Gets the seeders.
| |
SpaceDef | The Space Definition of the sace | |
SpaceState |
Gets the state of the space.
|