| Modifier and Type | Method and Description |
|---|---|
GridClientConfiguration |
GridClientConfiguration.setAutoFetchAttributes(boolean autoFetchAttrs)
Sets flag indicating whether node attributes should be fetched by client automatically.
|
GridClientConfiguration |
GridClientConfiguration.setAutoFetchMetrics(boolean autoFetchMetrics)
Sets flag indicating whether node metrics should be fetched by client automatically.
|
GridClientConfiguration |
GridClientConfiguration.setBalancer(GridClientLoadBalancer balancer)
Sets default compute balancer.
|
GridClientConfiguration |
GridClientConfiguration.setConnectTimeout(int connectTimeout)
Sets timeout for socket connect operation.
|
GridClientConfiguration |
GridClientConfiguration.setDaemon(boolean daemon)
Set the daemon flag value.
|
GridClientConfiguration |
GridClientConfiguration.setDataConfigurations(Collection<? extends GridClientDataConfiguration> dataCfgs)
Sets data configurations.
|
GridClientConfiguration |
GridClientConfiguration.setEnableAttributesCache(boolean enableAttrsCache)
Sets flag indicating whether node attributes should be cached by client.
|
GridClientConfiguration |
GridClientConfiguration.setEnableMetricsCache(boolean enableMetricsCache)
Sets flag indicating whether node and cache metrics should be cached by client.
|
GridClientConfiguration |
GridClientConfiguration.setExecutorService(ExecutorService executor)
Sets executor service.
|
GridClientConfiguration |
GridClientConfiguration.setMarshaller(GridClientMarshaller marshaller)
Sets the marshaller to use for communication.
|
GridClientConfiguration |
GridClientConfiguration.setMaxConnectionIdleTime(long maxConnIdleTime)
Sets maximum time in milliseconds which connection can be idle before it is closed by client.
|
GridClientConfiguration |
GridClientConfiguration.setPingInterval(long pingInterval)
Sets ping interval in milliseconds.
|
GridClientConfiguration |
GridClientConfiguration.setPingTimeout(long pingTimeout)
Sets ping timeout in milliseconds.
|
GridClientConfiguration |
GridClientConfiguration.setProtocol(GridClientProtocol proto)
Sets protocol type that should be used in communication.
|
GridClientConfiguration |
GridClientConfiguration.setRouters(Collection<String> routers)
Sets list of routers this client should connect to.
|
GridClientConfiguration |
GridClientConfiguration.setSecurityCredentialsProvider(SecurityCredentialsProvider credProvider)
Sets client credentials provider used in authentication process.
|
GridClientConfiguration |
GridClientConfiguration.setServers(Collection<String> srvs)
Sets list of servers this client should connect to.
|
GridClientConfiguration |
GridClientConfiguration.setSslContextFactory(GridSslContextFactory sslCtxFactory)
Sets SSL context factory that will be used for creation of secure connections.
|
GridClientConfiguration |
GridClientConfiguration.setTcpNoDelay(boolean tcpNoDelay)
Sets whether
TCP_NODELAY flag should be set on underlying socket connections. |
GridClientConfiguration |
GridClientConfiguration.setTopologyRefreshFrequency(long topRefreshFreq)
Sets topology refresh frequency.
|
| Modifier and Type | Method and Description |
|---|---|
static GridClient |
GridClientFactory.start(GridClientConfiguration cfg)
Starts a client with given configuration.
|
| Constructor and Description |
|---|
GridClientConfiguration(GridClientConfiguration cfg)
Copy constructor.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridClientConfiguration |
GridClientImpl.cfg
Client configuration.
|
| Constructor and Description |
|---|
GridClientImpl(UUID id,
GridClientConfiguration cfg0,
boolean routerClient)
Creates a new client based on a given configuration.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridClientConfiguration |
GridClientConnectionManagerAdapter.cfg
Client configuration.
|
| Constructor and Description |
|---|
GridClientConnectionManagerAdapter(UUID clientId,
SSLContext sslCtx,
GridClientConfiguration cfg,
Collection<InetSocketAddress> routers,
GridClientTopology top,
@Nullable Byte marshId,
boolean routerClient) |
GridClientConnectionManagerOsImpl(UUID clientId,
SSLContext sslCtx,
GridClientConfiguration cfg,
Collection<InetSocketAddress> routers,
GridClientTopology top,
Byte marshId,
boolean routerClient) |
GridClientTopology(GridClientConfiguration cfg)
Creates topology instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Command.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Object |
TxCommands.execute(GridClientConfiguration clientCfg,
Logger logger)
Dump transactions information.
|
Object |
StateCommand.execute(GridClientConfiguration clientCfg,
Logger logger)
Print cluster state.
|
Object |
DeactivateCommand.execute(GridClientConfiguration clientCfg,
Logger logger)
Deactivate cluster.
|
Object |
BaselineCommand.execute(GridClientConfiguration clientCfg,
Logger logger)
Change baseline.
|
Object |
WalCommands.execute(GridClientConfiguration clientCfg,
Logger logger)
Execute WAL command.
|
Object |
ActivateCommand.execute(GridClientConfiguration cfg,
Logger logger)
Activate cluster.
|
static <R> R |
TaskExecutor.executeTask(GridClient client,
Class<? extends ComputeTask<?,R>> taskCls,
Object taskArgs,
GridClientConfiguration clientCfg) |
static <R> R |
TaskExecutor.executeTaskByNameOnNode(GridClient client,
String taskClsName,
Object taskArgs,
UUID nodeId,
GridClientConfiguration clientCfg) |
default void |
Command.prepareConfirmation(GridClientConfiguration clientCfg)
Prepares confirmation for the command.
|
void |
DeactivateCommand.prepareConfirmation(GridClientConfiguration clientCfg)
Prepares confirmation for the command.
|
static GridClient |
Command.startClient(GridClientConfiguration clientCfg)
Method to create thin client for communication with cluster.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
IdleVerify.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Object |
ResetLostPartitions.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Object |
CacheCommands.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Object |
CacheValidateIndexes.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Object |
CacheContention.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Object |
CacheViewer.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Object |
CacheDistribution.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Object |
FindAndDeleteGarbage.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
PageLocksCommand.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Object |
DiagnosticCommand.execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020