|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.util.queue.StorageId
Class encapsulating the unique id of a queue or a cache.
| Constructor Summary | |
StorageId(Global glob,
java.lang.String id)
Parse and create a unique id. |
|
StorageId(java.lang.String prefix,
java.lang.String postfix)
Create a unique id, e.g. |
|
| Method Summary | |
java.lang.String |
getId()
|
java.lang.String |
getPostfix()
|
java.lang.String |
getPrefix()
|
java.lang.String |
getStrippedId()
The id usable for file names and is used for the queue and message-store names. |
java.lang.String |
toString()
|
static StorageId |
valueOf(java.lang.String strippedStorageId)
Not functional, we have no guaranteed way to find out the real id from the stripped id. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StorageId(java.lang.String prefix,
java.lang.String postfix)
prefix - e.g. "history"
param postfix unique string e.g. "/node/heron/client/joe/-2"
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.
XmlBlasterException - if no separator ":" was found| Method Detail |
public static StorageId valueOf(java.lang.String strippedStorageId)
strippedStorageId -
public java.lang.String getPrefix()
public java.lang.String getPostfix()
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 toString()
|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||