Package com.rabbitmq.stream
Interface Resource.StateListener
-
- Enclosing interface:
- Resource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Resource.StateListener
Application listener for aResource.They are registered at creation time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(Resource.Context context)Handle state change.
-
-
-
Method Detail
-
handle
void handle(Resource.Context context)
Handle state change.- Parameters:
context- state change context
-
-