org.usergrid.mq
Class Queue
java.lang.Object
org.usergrid.mq.Queue
public class Queue
- extends Object
Method Summary |
boolean |
getBooleanProperty(String name)
|
byte |
getByteProperty(String name)
|
long |
getCreated()
|
static Queue |
getDestination(String path)
|
double |
getDoubleProperty(String name)
|
float |
getFloatProperty(String name)
|
int |
getIntProperty(String name)
|
long |
getLongProperty(String name)
|
long |
getModified()
|
Object |
getObjectProperty(String name)
|
String |
getPath()
|
Map<String,Object> |
getProperties()
|
static UUID |
getQueueId(String queuePath)
|
static String[] |
getQueueParentPaths(String queuePath)
|
static String[] |
getQueuePathSegments(String queuePath)
|
short |
getShortProperty(String name)
|
String |
getStringProperty(String name)
|
UUID |
getUuid()
|
static String |
normalizeQueuePath(String queuePath)
|
void |
setBooleanProperty(String name,
boolean value)
|
void |
setByteProperty(String name,
byte value)
|
void |
setCreated(long created)
|
void |
setDoubleProperty(String name,
double value)
|
void |
setFloatProperty(String name,
float value)
|
void |
setIntProperty(String name,
int value)
|
void |
setLongProperty(String name,
long value)
|
void |
setModified(long modified)
|
void |
setObjectProperty(String name,
Object value)
|
void |
setPath(String path)
|
void |
setProperty(String key,
Object value)
|
void |
setShortProperty(String name,
short value)
|
void |
setStringProperty(String name,
String value)
|
String |
toString()
|
QUEUE_ID
public static final String QUEUE_ID
- See Also:
- Constant Field Values
QUEUE_PATH
public static final String QUEUE_PATH
- See Also:
- Constant Field Values
QUEUE_CREATED
public static final String QUEUE_CREATED
- See Also:
- Constant Field Values
QUEUE_MODIFIED
public static final String QUEUE_MODIFIED
- See Also:
- Constant Field Values
QUEUE_NEWEST
public static final String QUEUE_NEWEST
- See Also:
- Constant Field Values
QUEUE_OLDEST
public static final String QUEUE_OLDEST
- See Also:
- Constant Field Values
QUEUE_PROPERTIES
public static final Map<String,Class> QUEUE_PROPERTIES
properties
protected Map<String,Object> properties
Queue
public Queue(String path)
Queue
public Queue(Map<String,Object> properties)
toString
public String toString()
- Overrides:
toString
in class Object
getPath
public String getPath()
setPath
public void setPath(String path)
getCreated
public long getCreated()
setCreated
public void setCreated(long created)
getModified
public long getModified()
setModified
public void setModified(long modified)
getDestination
public static Queue getDestination(String path)
setProperty
public void setProperty(String key,
Object value)
getProperties
public Map<String,Object> getProperties()
getQueueParentPaths
public static String[] getQueueParentPaths(String queuePath)
getQueuePathSegments
public static String[] getQueuePathSegments(String queuePath)
normalizeQueuePath
public static String normalizeQueuePath(String queuePath)
getQueueId
public static UUID getQueueId(String queuePath)
getUuid
public UUID getUuid()
getFloatProperty
public float getFloatProperty(String name)
setFloatProperty
public void setFloatProperty(String name,
float value)
getDoubleProperty
public double getDoubleProperty(String name)
setDoubleProperty
public void setDoubleProperty(String name,
double value)
getIntProperty
public int getIntProperty(String name)
setIntProperty
public void setIntProperty(String name,
int value)
getLongProperty
public long getLongProperty(String name)
setLongProperty
public void setLongProperty(String name,
long value)
getObjectProperty
public Object getObjectProperty(String name)
setObjectProperty
public void setObjectProperty(String name,
Object value)
getShortProperty
public short getShortProperty(String name)
setShortProperty
public void setShortProperty(String name,
short value)
getStringProperty
public String getStringProperty(String name)
setStringProperty
public void setStringProperty(String name,
String value)
getBooleanProperty
public boolean getBooleanProperty(String name)
setBooleanProperty
public void setBooleanProperty(String name,
boolean value)
getByteProperty
public byte getByteProperty(String name)
setByteProperty
public void setByteProperty(String name,
byte value)
Copyright © 2013. All Rights Reserved.