Click or drag to resize
Space Interface
Space is a virtual storage area for entries.

Namespace: Com.Tibco.As.Space
Assembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.1.5.12)
Syntax
public interface Space

The Space type exposes the following members.

Methods
  NameDescription
Public methodBrowse(BrowserDefBrowserType)
Creates a browser over multiple entries in the Space.
Public methodBrowse(BrowserDefBrowserType, BrowserDef)
Creates a browser over multiple entries in the Space.
Public methodBrowse(BrowserDefBrowserType, BrowserDef, String)
Creates a browser over multiple entries in the Space which match the specified filter.
Public methodBrowseEvents(EventBrowserDef)
Creates an EventBrowser.
Public methodBrowseEvents(EventBrowserDef, String)
Creates an EventBrowser over all the events in the Space which match the specified filter.
Public methodClear
Deletes all tuples in the Space. Equivalent to Clear("")
Public methodClear(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. 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.
Public methodClose
Invalidates this Space reference with the distribution role it initialized with. If this is the last reference, current process will leave the space.
Public methodCloseAll
Forcefully leaves the space and stops and invalidates existing listeners and browsers created on the space.
Public methodCompareAndPut(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.
Public methodCompareAndPut(Tuple, Tuple, PutOptions)
Same as CompareAndPut(Tuple, Tuple) with PutOptions to specify put options
Public methodCompareAndPutAll(ICollectionTuple, ICollectionTuple)
Batch CompareAndPut operation
Public methodCompareAndPutAll(ICollectionTuple, ICollectionTuple, PutOptions)
Batch CompareAndPut operation with PutOptions
Public methodCompareAndPutAll(ICollectionTuple, ICollectionTuple, ICollectionPutOptions)
Batch CompareAndPut operation with PutOptions
Public methodCompareAndTake(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
Public methodCompareAndTake(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
Public methodCompareAndTakeAll(ICollectionTuple)
Batch CompareAndTake operation
Public methodCompareAndTakeAll(ICollectionTuple, TakeOptions)
Batch CompareAndTake operation with TakeOptions
Public methodGet(String)
The list of matching entries
Public methodGet(Tuple)
Get the tuple
Public methodGet(Tuple, GetOptions)
Get the tuple
Public methodGetAll
Batch Get operation
Public methodInvoke(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!
Public methodInvoke(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!
Public methodInvoke(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!
Public methodInvoke(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!
Public methodInvoke(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!
Public methodInvokeT(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!
Public methodInvokeT(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!
Public methodInvokeT(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!
Public methodInvokeT(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!
Public methodInvokeLeeches(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!
Public methodInvokeLeeches(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!
Public methodInvokeLeeches(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!
Public methodInvokeLeeches(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!
Public methodInvokeLeeches(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!
Public methodInvokeLeechesT(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!
Public methodInvokeLeechesT(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!
Public methodInvokeLeechesT(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!
Public methodInvokeLeechesT(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!
Public methodInvokeMember(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!
Public methodInvokeMember(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!
Public methodInvokeMember(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!
Public methodInvokeMember(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!
Public methodInvokeMember(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!
Public methodInvokeMemberT(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!
Public methodInvokeMemberT(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!
Public methodInvokeMemberT(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!
Public methodInvokeMemberT(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!
Public methodInvokeMembers(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!
Public methodInvokeMembers(ICollectionMember, 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!
Public methodInvokeMembers(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!
Public methodInvokeMembers(ICollectionMember, 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!
Public methodInvokeMembers(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!
Public methodInvokeMembers(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!
Public methodInvokeMembers(ICollectionMember, 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!
Public methodInvokeMembers(ICollectionMember, 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!
Public methodInvokeMembers(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!
Public methodInvokeMembers(ICollectionMember, 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!
Public methodInvokeMembersT(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!
Public methodInvokeMembersT(ICollectionMember, 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!
Public methodInvokeMembersT(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!
Public methodInvokeMembersT(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!
Public methodInvokeMembersT(ICollectionMember, 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!
Public methodInvokeMembersT(ICollectionMember, 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!
Public methodInvokeMembersT(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!
Public methodInvokeMembersT(ICollectionMember, 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!
Public methodInvokeRemoteMembers(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!
Public methodInvokeRemoteMembers(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!
Public methodInvokeRemoteMembers(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!
Public methodInvokeRemoteMembers(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!
Public methodInvokeRemoteMembers(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!
Public methodInvokeRemoteMembersT(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!
Public methodInvokeRemoteMembersT(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!
Public methodInvokeRemoteMembersT(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!
Public methodInvokeRemoteMembersT(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!
Public methodInvokeSeeders(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!
Public methodInvokeSeeders(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!
Public methodInvokeSeeders(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!
Public methodInvokeSeeders(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!
Public methodInvokeSeeders(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!
Public methodInvokeSeedersT(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!
Public methodInvokeSeedersT(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!
Public methodInvokeSeedersT(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!
Public methodInvokeSeedersT(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!
Public methodListen(Listener)
Returns a listener on a space for receiving event notifications.
Public methodListen(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.
Public methodListen(Listener, String)
Returns a listener on a space for receiving notifications on events that match the specified filter.
Public methodListen(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.
Public methodLoad
This function is typically used in an implementation of the Persister.OnLoad() function to load the space.
Public methodLoadAll
Batch Load operation
Public methodLock(Tuple)
Locks the entry stored in the Space which has the key specified in the given Tuple
Public methodLock(Tuple, LockOptions)
Locks the entry stored in the Space which has the key specified in the given Tuple
Public methodLockAll(ICollectionTuple)
Batch Lock operation
Public methodLockAll(ICollectionTuple, LockOptions)
Batch lock operation with LockOptions
Public methodPut(Tuple)
Stores a Tuple into the Space and returns the corresponding entry
Public methodPut(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.
Public methodPutAll(ICollectionTuple)
Batch Put operation
Public methodPutAll(ICollectionTuple, PutOptions)
Batch Put operation with PutOptions
Public methodPutAll(ICollectionTuple, ICollectionPutOptions)
Batch Put operation with PutOptions
Public methodSize
Returns number of entries in the space which match a given filter
Public methodSize(String)
Returns number of entries in the space which match a given filter
Public methodStopListener
Stops a listener and associated thread that was previously created.
Public methodStopPersister
Stops the persister and associated thread that was previously created
Public methodStopRouter
Stops the persister and associated thread that was previously created
Public methodTake(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.
Public methodTake(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
Public methodTakeAll(ICollectionTuple)
Batch Take operation
Public methodTakeAll(ICollectionTuple, TakeOptions)
Batch Take operation with TakeOptions
Public methodUnlock(Tuple)
Unlocks the tuple associated with a key tuple value
Public methodUnlock(Tuple, UnlockOptions)
Unlocks the tuple associated with a key tuple value
Public methodUnlockAll(ICollectionTuple)
Batch Unlock operation
Public methodUnlockAll(ICollectionTuple, UnlockOptions)
Batch Unlock operation with UnlockOptions
Public methodWaitForReady
blocks the client code until space is ready for space operations
Public methodWaitForReady(Int64)
blocks the client until space is ready or timeout happens
Top
Properties
  NameDescription
Public propertyCount
Get the number of entries in the Space
Public propertyDistributionRole
Sets the space member's distribution role in the Space to leech or seeder.
Public propertyIsReady
Gets a value indicating whether the space is ready.
Public propertyLeeches
Gets the leeches.
Public propertyMembers
Gets the members.
Public propertyMetaspace
Get the metaspace that the space belongs to
Public propertyMetaspaceName
Get the metaspace name
Public propertyName
The space name
Public propertyPersister
Returns a persister on a space for receiving persistence actions
Public propertyRemoteMembers
Gets the remote memebrs.
Public propertyRouter
Returns a router on a space for receiving routing actions
Public propertySeeders
Gets the seeders.
Public propertySpaceDef
The Space Definition of the sace
Public propertySpaceState
Gets the state of the space.
Top
Remarks
A space has the following attributes:
  • Name: Space Space name should be unique within a Metaspace and should conform to the following rules:
    • Cannot start with a '$','.' or '_'
    • Cannot contain a '>' and '*'
  • Space Definition: A space has a definition SpaceDef specified by an ActiveSpaces application or through the ActiveSpace Administration tool
  • Joining a space: an ActiveSpaces application joins a Space with a role. When an ActiveSpaces application joins a Space, it becomes a Member of the space. Space has state and needs to be in SpaceState.READY state in order to allow operations on the space. An application can join the space in either of the following roles:
    • ROLE_SEEDER: The Member is willing to store (seed) entries put into the Space by any Member.
    • ROLE_LEECH: The Member is not willing to store any entries put into the Space by any Member.
  • Space distribution:
    • Distributed: Storage of entries is distributed amongst all seeding Members. Agents automatically join the Space as seeding Members.
    • Non-distributed: One of the seeding Members stores all the entries. Agents do not automatically join the space.
A Space offers the following functionality:
  • Tuple storage and retrieval:
    • Put: stores a Tuple into the Space
    • Get: returns the Tuple (if one exists) whose key fields match the key fields of the Tuple provided.
    • Take: returns the Tuple and atomically removes from the Space (if one exists) whose key fields match the key fields of the Tuple provided.
    • CompareAndPut: compare and put operation.
    • CompareAndTake: compare and take operation.
  • Locking: Entries in a Space can be made read-only by locking them. If a Member attempts an operation that will modify a locked key, this operation will block until the lock is cleared or for a maximum amount of time specified in the LockWait SpaceDef attribute.
  • Listeners: ActiveSpaces applications can have callbacks invoked when certain events occur. Following events can cause callbacks to be invoked:
    • Put events: When a Put happens and a new tuple is stored in the Space
    • Take events: When a Take happens and a new tuple is stored in the Space
    • Expire events: When a Expire happens and a new tuple is stored in the Space
  • Browsers: Allow retrieval and operations over multiple entries in the Space. Browsers can be continuously updated according to changes in the Space (i.e. they are always coherent with the space unless the browser's timescope is SNAPSHOT). Operations such as Get, Take and Lock can be invoked on the entries being browsed according to the type of the Browser (TAKE and LOCK browsers are always consistent with the space being browsed).
See Also