Class InMemoryServiceInstanceBindingStateRepository
java.lang.Object
org.springframework.cloud.appbroker.state.InMemoryServiceInstanceBindingStateRepository
- All Implemented Interfaces:
ServiceInstanceBindingStateRepository
public class InMemoryServiceInstanceBindingStateRepository
extends Object
implements ServiceInstanceBindingStateRepository
Default implementation of
ServiceInstanceBindingStateRepository
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, String bindingId) reactor.core.publisher.Mono<ServiceInstanceState>
saveState
(String serviceInstanceId, String bindingId, org.springframework.cloud.servicebroker.model.instance.OperationState state, String description)
-
Constructor Details
-
InMemoryServiceInstanceBindingStateRepository
public InMemoryServiceInstanceBindingStateRepository()
-
-
Method Details
-
saveState
public reactor.core.publisher.Mono<ServiceInstanceState> saveState(String serviceInstanceId, String bindingId, org.springframework.cloud.servicebroker.model.instance.OperationState state, String description) - Specified by:
saveState
in interfaceServiceInstanceBindingStateRepository
-
getState
public reactor.core.publisher.Mono<ServiceInstanceState> getState(String serviceInstanceId, String bindingId) - Specified by:
getState
in interfaceServiceInstanceBindingStateRepository
-
removeState
public reactor.core.publisher.Mono<ServiceInstanceState> removeState(String serviceInstanceId, String bindingId) - Specified by:
removeState
in interfaceServiceInstanceBindingStateRepository
-