Package com.rabbitmq.stream
Interface Resource.Context
-
- Enclosing interface:
- Resource
public static interface Resource.ContextContext of a resource state change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource.StatecurrentState()The current (new) state of the resource.Resource.StatepreviousState()The previous state of the resource.Resourceresource()The resource instance.
-
-
-
Method Detail
-
resource
Resource resource()
The resource instance.- Returns:
- resource instance
-
previousState
Resource.State previousState()
The previous state of the resource.- Returns:
- previous state
-
currentState
Resource.State currentState()
The current (new) state of the resource.- Returns:
- current state
-
-