|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.util.queue.StorageId
public class StorageId
Class encapsulating the unique id of a queue or a cache.
Constructor Summary | |
---|---|
StorageId(Global glob,
java.lang.String id)
Deprecated. Old xb_entries only |
|
StorageId(Global glob,
java.lang.String relating,
java.lang.String postfix)
Deprecated. Old xb_entries only |
|
StorageId(Global glob,
java.lang.String xbNode,
java.lang.String xbType,
SessionName sessionName)
|
|
StorageId(Global glob,
java.lang.String xbNode,
java.lang.String xbType,
java.lang.String xbPostfix)
|
Method Summary | |
---|---|
java.lang.String |
getId()
|
java.lang.String |
getOldPostfix()
Deprecated. Use getXBStore().getPostfix() |
ContextNode |
getParentContextNode()
|
java.lang.String |
getPostfix1()
|
java.lang.String |
getPostfix2()
|
java.lang.String |
getRelatingType()
is XBSTORE.XBTYPE |
java.lang.String |
getStrippedId()
Deprecated. Old xb_entries |
java.lang.String |
getStrippedLogId()
|
XBStore |
getXBStore()
returns an XBStore without having filled the id nor the flag1 member variables. |
void |
setParentContextNode(ContextNode parentContextNode)
|
java.lang.String |
toString()
Deprecated. |
static StorageId |
valueOf(Global glob,
java.lang.String strippedStorageId)
Deprecated. Old xb_entries |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StorageId(Global glob, java.lang.String xbNode, java.lang.String xbType, SessionName sessionName)
public StorageId(Global glob, java.lang.String xbNode, java.lang.String xbType, java.lang.String xbPostfix)
public StorageId(Global glob, java.lang.String relating, java.lang.String postfix)
glob
- relating
- e.g. "history" or Constants.RELATING_SUBJECTpostfix
- unique string e.g. "/node/heron/client/joe/-2" from
sessionName.getAbsoluteName()public StorageId(Global glob, java.lang.String id) throws XmlBlasterException
A queueId must be of the kind cb:some/id/or/someother where the important requirement here is that it contains a ':' character. The text on the left side of the separator (in this case 'cb') tells which kind of queue it is: for example a callback queue (cb) or a client queue.
id
- e.g. "history:/node/heron/client/joe/-2"
XmlBlasterException
- if no separator ":" was foundMethod Detail |
---|
public static StorageId valueOf(Global glob, java.lang.String strippedStorageId)
glob
- strippedStorageId
-
public java.lang.String getRelatingType()
public java.lang.String getOldPostfix()
public java.lang.String getId()
public java.lang.String getStrippedId()
NOTE: This name should never change in future xmlBlaster releases. If it changes the new release would not find old database entries!
Global.getStrippedString(String)
public java.lang.String getStrippedLogId()
public java.lang.String toString()
toString
in class java.lang.Object
public XBStore getXBStore()
public java.lang.String getPostfix1()
public java.lang.String getPostfix2()
public ContextNode getParentContextNode()
public void setParentContextNode(ContextNode parentContextNode)
|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |