Class InMemoryServiceInstanceStateRepository
java.lang.Object
org.springframework.cloud.appbroker.state.InMemoryServiceInstanceStateRepository
- All Implemented Interfaces:
ServiceInstanceStateRepository
public class InMemoryServiceInstanceStateRepository
extends Object
implements ServiceInstanceStateRepository
Default implementation of
ServiceInstanceStateRepository
meant for demonstration and testing purposes only.
WARNING: This implementation is not intended for production applications!-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<ServiceInstanceState>
reactor.core.publisher.Mono<ServiceInstanceState>
removeState
(String serviceInstanceId) reactor.core.publisher.Mono<ServiceInstanceState>
saveState
(String serviceInstanceId, org.springframework.cloud.servicebroker.model.instance.OperationState state, String description)
-
Constructor Details
-
InMemoryServiceInstanceStateRepository
public InMemoryServiceInstanceStateRepository()
-
-
Method Details
-
saveState
public reactor.core.publisher.Mono<ServiceInstanceState> saveState(String serviceInstanceId, org.springframework.cloud.servicebroker.model.instance.OperationState state, String description) - Specified by:
saveState
in interfaceServiceInstanceStateRepository
-
getState
- Specified by:
getState
in interfaceServiceInstanceStateRepository
-
removeState
- Specified by:
removeState
in interfaceServiceInstanceStateRepository
-