|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.latencybusters.lbm.UMQIndexInfo
public class UMQIndexInfo
Constructor Summary | |
---|---|
UMQIndexInfo()
|
|
UMQIndexInfo(byte[] index,
int length)
Creates a UMQIndexInfo object and initializes fields to the supplied values. |
|
UMQIndexInfo(long index)
Creates a numeric UMQIndexInfo object and initializes fields to the supplied values. |
Method Summary | |
---|---|
int |
flags()
Returns flags for the UMQIndexInfo object. |
byte[] |
index()
Returns index for non-numeric UMQIndexInfo objects. |
int |
indexLength()
Returns length of non-numeric index. |
long |
numericIndex()
Returns numeric index for numeric UMQIndexInfo objects. |
void |
setIndex(byte[] index,
int length)
Sets non-numeric index to given data. |
void |
setNumericIndex(long index)
Sets the numeric index value of a numeric UMQIndexInfo object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UMQIndexInfo(byte[] index, int length) throws LBMEInvalException
index
- Index (user-specified binary data).length
- Length of index data.
LBMEInvalException
- An invalid parameter was specified.public UMQIndexInfo(long index)
index
- Numeric index (64-bit number).
LBMEInvalException
- An invalid parameter was specified.public UMQIndexInfo()
Method Detail |
---|
public int flags()
public byte[] index() throws LBMEInvalException
LBMEInvalException
- if the index is numeric.public long numericIndex() throws LBMEInvalException
LBMEInvalException
- if the index is not numeric.public int indexLength() throws LBMEInvalException
LBMEInvalException
- if called on a numeric UMQIndexInfo object.public void setIndex(byte[] index, int length) throws LBMEInvalException
index
- Index data to set.length
- Length of index data.
LBMEInvalException
- if index data is null, or index length is <= 0 or > LBM.UMQ_MAX_INDEX_LEN.public void setNumericIndex(long index)
index
- The numeric index to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |