|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.aries.jmx.codec.BatchResult
public abstract class BatchResult
BatchResult represents abstract class for BatchResults. It contains common data structure of batch result:
Field Summary | |
---|---|
protected long[] |
completed
|
protected String |
error
|
protected boolean |
success
|
Constructor Summary | |
---|---|
BatchResult()
|
Method Summary | |
---|---|
long[] |
getCompleted()
Gets completed item id's. |
String |
getError()
Gets error message. |
boolean |
isSuccess()
Gets success value. |
protected Long[] |
toLongArray(long[] primitiveArray)
Converts primitive array of strings to Long array. |
protected static long[] |
toLongPrimitiveArray(Long[] wrapperArray)
Converts Long array to primitive array of long. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected long[] completed
FrameworkMBean.COMPLETED_ITEM
,
FrameworkMBean.COMPLETED
protected String error
FrameworkMBean.ERROR_ITEM
,
FrameworkMBean.ERROR
protected boolean success
FrameworkMBean.SUCCESS_ITEM
,
FrameworkMBean.SUCCESS
Constructor Detail |
---|
public BatchResult()
Method Detail |
---|
public long[] getCompleted()
public String getError()
public boolean isSuccess()
protected Long[] toLongArray(long[] primitiveArray)
primitiveArray
- primitive long array.
protected static long[] toLongPrimitiveArray(Long[] wrapperArray)
wrapperArray
- Long array.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |