@Experimental public interface ClusterManagementServiceTransport
RestTemplate. This interface supports the operations from
ClusterManagementService.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the transport.
|
void |
configureConnection(ConnectionConfig connectionConfig)
Configure the transport with using connectionConfig.
|
boolean |
isConnected()
Indicate whether this transport is currently connected
|
<T extends AbstractConfiguration<?>> |
submitMessage(T configMessage,
CommandType command)
Submit a message with a specific command.
|
<T extends AbstractConfiguration<R>,R extends RuntimeInfo> |
submitMessageForGet(T configMessage)
Submit a message with a specific command which returns a single result.
|
<A extends ClusterManagementOperation<V>,V extends OperationResult> |
submitMessageForGetOperation(A opType,
String operationId)
Submit a message for a specific command which returns a single operation in progress.
|
<T extends AbstractConfiguration<R>,R extends RuntimeInfo> |
submitMessageForList(T configMessage)
Submit a message with a specific command which returns a list result.
|
<A extends ClusterManagementOperation<V>,V extends OperationResult> |
submitMessageForListOperation(A opType)
Submit a message for a specific command which returns a list result of operations in progress.
|
<A extends ClusterManagementOperation<V>,V extends OperationResult> |
submitMessageForStart(A op)
Submit a message to start a specific command.
|
<T extends AbstractConfiguration<?>> ClusterManagementRealizationResult submitMessage(T configMessage, CommandType command)
ClusterManagementService.create(T)
and ClusterManagementService.delete(T) commands.T - configuration object which extends AbstractConfigurationconfigMessage - configuration objectcommand - the command to useClusterManagementRealizationResult<T extends AbstractConfiguration<R>,R extends RuntimeInfo> ClusterManagementListResult<T,R> submitMessageForList(T configMessage)
ClusterManagementService.list(AbstractConfiguration) command.T - configuration object which extends AbstractConfigurationR - the type of the corresponding runtime informationconfigMessage - configuration objectClusterManagementListResult<T extends AbstractConfiguration<R>,R extends RuntimeInfo> ClusterManagementGetResult<T,R> submitMessageForGet(T configMessage)
ClusterManagementService.get(T) command.T - configuration object which extends AbstractConfigurationR - the type of the corresponding runtime informationconfigMessage - configuration objectClusterManagementGetResult<A extends ClusterManagementOperation<V>,V extends OperationResult> ClusterManagementListOperationsResult<A,V> submitMessageForListOperation(A opType)
ClusterManagementService.list(ClusterManagementOperation) command.A - operation of type ClusterManagementOperationV - result of type OperationResultopType - the operation for which a message should be submittedClusterManagementListResult<A extends ClusterManagementOperation<V>,V extends OperationResult> ClusterManagementOperationResult<A,V> submitMessageForGetOperation(A opType, String operationId)
ClusterManagementService.get(AbstractConfiguration) command.A - operation of type ClusterManagementOperationV - result of type OperationResultopType - the operation for which a message should be submittedoperationId - the identifier of the operationClusterManagementListResult<A extends ClusterManagementOperation<V>,V extends OperationResult> ClusterManagementOperationResult<A,V> submitMessageForStart(A op)
ClusterManagementService.start(ClusterManagementOperation) command.A - operation of type ClusterManagementOperationV - result of type OperationResultop - the operation for which a message should be submittedClusterManagementListResultboolean isConnected()
void configureConnection(ConnectionConfig connectionConfig)
connectionConfig - ConnectionConfig holding connection configuration information.void close()