Package org.cometd.oort
Interface OortPrimaryLong.Callback
-
- Enclosing class:
- OortPrimaryLong
public static interface OortPrimaryLong.CallbackCallback invoked when the result of the operation on the counter is available, or when the operation failed.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidfailed(java.lang.Object failure)Callback method invoked when the operation on the counter failed.default voidsucceeded(java.lang.Long result)Callback method invoked when the operation on the counter succeeded.
-
-
-
Method Detail
-
succeeded
default void succeeded(java.lang.Long result)
Callback method invoked when the operation on the counter succeeded.- Parameters:
result- the result of the operation
-
failed
default void failed(java.lang.Object failure)
Callback method invoked when the operation on the counter failed.- Parameters:
failure- the failure object
-
-