public class PurgeResponse extends ApiResponse<PurgeResponse>
jv, NO_TYPE, PARSE_ERROR_TYPE| Constructor and Description |
|---|
PurgeResponse(Message msg) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPurged()
Returns the number of items purged from the stream
|
int |
getPurgedCount()
Deprecated.
This method is replaced since the purged value is a long
value, not an int value
See
getPurged() instead. |
boolean |
isSuccess()
Returns true if the server was able to purge the stream
|
getApiErrorCode, getDescription, getError, getErrorCode, getErrorObject, getJv, getType, hasError, parseMessage, throwOnHasError, toStringpublic PurgeResponse(Message msg)
public boolean isSuccess()
@Deprecated public int getPurgedCount()
getPurged() instead.public long getPurged()