public class PurgeResponse extends ApiResponse<PurgeResponse>
json, NO_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
|
java.lang.String |
toString() |
getApiErrorCode, getDescription, getError, getErrorCode, getType, hasError, throwOnHasErrorpublic PurgeResponse(Message msg)
public boolean isSuccess()
@Deprecated public int getPurgedCount()
getPurged() instead.public long getPurged()
public java.lang.String toString()
toString in class java.lang.Object