abstractclass Cassandra::Future::Listener
a Future listener to be passed to #add_listener
- Abstract
- Actual listeners passed to
#add_listener
don’t need to extend this class as long as they implement#success
and#failure
methods - Note
- Listener methods can be called from application if a future has been resolved or failed by the time the listener is registered; or from background thread if it is resolved/failed after the listener has been registered.
Inherits
Object
Methods
success
(value)- Void
- Return value of this method is ignored.
failure
(error)- Void
- Return value of this method is ignored.