public class InMemoryServiceInstanceStateRepository extends Object implements ServiceInstanceStateRepository
ServiceInstanceStateRepository
meant for demonstration and testing purposes only.
WARNING: This implementation is not intended for production applications!Constructor and Description |
---|
InMemoryServiceInstanceStateRepository() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<ServiceInstanceState> |
getState(String serviceInstanceId) |
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) |
public InMemoryServiceInstanceStateRepository()
public reactor.core.publisher.Mono<ServiceInstanceState> saveState(String serviceInstanceId, org.springframework.cloud.servicebroker.model.instance.OperationState state, String description)
saveState
in interface ServiceInstanceStateRepository
public reactor.core.publisher.Mono<ServiceInstanceState> getState(String serviceInstanceId)
getState
in interface ServiceInstanceStateRepository
public reactor.core.publisher.Mono<ServiceInstanceState> removeState(String serviceInstanceId)
removeState
in interface ServiceInstanceStateRepository