Products | Versions |
---|---|
TIBCO ActiveSpaces | - |
Not Applicable | - |
ActiveSpaces (AS) does not have an API to get the total metaspace
count. How to obtain the total metaspace tuples count using an existing API?
AS does not have an API to obtain the total metaspace
count. You can
write your own Java code and invoke it from BW to get the space count and list of spaces.
====Sample Code===========
Collection<String> list = ASCommon.getMetaspace(metaspace).getUserSpaceNames()
long spaceTupleCount =0;
for (String space : list)
{
spaceTupleCount =spaceTupleCount +Space(space).size();
}
=========================