Name | Description |
---|---|
InvocationService | Invocation Service functions |
MemberDef | Member Definition functions |
Space | Space functions |
Subscriber | AS Subscriber Functions |
Tuple | Tuple functions |
Name | Signature and Synopsis |
---|---|
beginTransaction | void beginTransaction (String metaSpaceName) BeginTransaction starts a transaction. Any operations on any Space in this metaspace called from the thread that currently owns the transaction will be in a transactional state, until either commitTransaction or rollbackTransaction is invoked. Transaction is scoped by the current thread context. |
close | void close (String metaSpaceName) Frees resources used by the Metaspace object. Invalidates this metaspace reference. If there are no more references, this method will disconnect from metaspace. |
closeAll | void closeAll (String metaSpaceName) Frees resources used by the Metaspace object. Immediately closes the connection to the Metaspace. Forces all Spaces, Browsers, and Listeners to be freed, and their handles to become invalid. |
commitTransaction | void commitTransaction (String metaSpaceName) Commits all of the Space operations invoked in this thread since beginTransaction was called. |
connect | void connect (String metaSpaceName, Object memberDef) Establishes connection to metaspace using the member definition. |
create | Object create () Creates Member definition using default connection definition. |
createUserSpace | Object createUserSpace (String metaSpaceName, String spaceName, String[] fieldNames, String[] dataTypes, Object ... variableArgs) Creates a user space using the provided field definitions. If space exists, the call is ignored and existing space is returned. |
getMemberDef | Object getMemberDef (String metaSpaceName) Returns the metaspace connection definition attributes. |
getMetaspaceMembers | Object getMetaspaceMembers (String metaSpaceName) Returns the collection of Member of the metaspace. |
getMetaspaceRemoteMembers | Object getMetaspaceRemoteMembers (String metaSpaceName) Returns the collection of Member of the metaspace that are connected using remote discovery. |
getSelfMember | Object getSelfMember (String metaSpaceName) Returns the Member for this Metaspace connection. |
getSpace | Object getSpace (String metaSpaceName, String spaceName, boolean isSeeder) Returns the space after joining it with role of SEEDER or LEECH, if it is not already joined. The fully qualified space name is derived by concatenating |
getSpaceDef | Object getSpaceDef (String metaSpaceName, String spaceName) Gets space definition for the given unqualified Space name by concatenating |
getSpaceMembers | Object getSpaceMembers (String metaSpaceName, String spaceName) Returns the collection of Member of the space for the given unqualified Space name by concatenating |
getSpaceRemoteMembers | Object getSpaceRemoteMembers (String metaSpaceName, String spaceName) Returns the collection of Member of the space remotely connected by this member. |
getUserSpaceNames | Object getUserSpaceNames (String metaSpaceName) Returns the user space names as a collection. |
recoverUserSpace | long recoverUserSpace (String metaSpaceName, String spaceName) Recovers a user space from shared nothing persistence (can not be used with other persistence types). |
releaseContext | Object releaseContext (String metaSpaceName) releaseContext is used to release the Context object from one thread so that it can be transferred to another thread. |
resume | void resume (String metaSpaceName) Resumes the metaspace. |
resumeSpace | void resumeSpace (String metaSpaceName, String spaceName) Resumes a space. |
rollbackTransaction | void rollbackTransaction (String metaSpaceName) Reverses all of the Space operations invoked in this thread since beginTransaction was called. |
suspend | void suspend (String metaSpaceName) Suspends the metaspace. |
version | String version () Retrieves the version of the ActiveSpaces product. |