Metaspace

Description

Metaspace functions

Categories

NameDescription
InvocationServiceInvocation Service functions
MemberDefMember Definition functions
SpaceSpace functions
SubscriberAS Subscriber Functions
TupleTuple functions

Functions

NameSignature and Synopsis
beginTransactionvoid 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.
closevoid 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.
closeAllvoid 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.
commitTransactionvoid commitTransaction (String metaSpaceName)
Commits all of the Space operations invoked in this thread since beginTransaction was called.
connectvoid connect (String metaSpaceName, Object memberDef)
Establishes connection to metaspace using the member definition.
createObject create ()
Creates Member definition using default connection definition.
createUserSpaceObject 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.
getMemberDefObject getMemberDef (String metaSpaceName)
Returns the metaspace connection definition attributes.
getMetaspaceMembersObject getMetaspaceMembers (String metaSpaceName)
Returns the collection of Member of the metaspace.
getMetaspaceRemoteMembersObject getMetaspaceRemoteMembers (String metaSpaceName)
Returns the collection of Member of the metaspace that are connected using remote discovery.
getSelfMemberObject getSelfMember (String metaSpaceName)
Returns the Member for this Metaspace connection.
getSpaceObject 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 . .
getSpaceDefObject getSpaceDef (String metaSpaceName, String spaceName)
Gets space definition for the given unqualified Space name by concatenating . .
getSpaceMembersObject getSpaceMembers (String metaSpaceName, String spaceName)
Returns the collection of Member of the space for the given unqualified Space name by concatenating . .
getSpaceRemoteMembersObject getSpaceRemoteMembers (String metaSpaceName, String spaceName)
Returns the collection of Member of the space remotely connected by this member.
getUserSpaceNamesObject getUserSpaceNames (String metaSpaceName)
Returns the user space names as a collection.
recoverUserSpacelong recoverUserSpace (String metaSpaceName, String spaceName)
Recovers a user space from shared nothing persistence (can not be used with other persistence types).
releaseContextObject releaseContext (String metaSpaceName)
releaseContext is used to release the Context object from one thread so that it can be transferred to another thread.
resumevoid resume (String metaSpaceName)
Resumes the metaspace.
resumeSpacevoid resumeSpace (String metaSpaceName, String spaceName)
Resumes a space.
rollbackTransactionvoid rollbackTransaction (String metaSpaceName)
Reverses all of the Space operations invoked in this thread since beginTransaction was called.
suspendvoid suspend (String metaSpaceName)
Suspends the metaspace.
versionString version ()
Retrieves the version of the ActiveSpaces product.