Java client implementation. More...
Inherits GridGain::Client::Impl::GridClientConnectionAdapter.
Public Member Functions | |
| GridClientHttpConnection (Guid clientId, IPEndPoint srvAddr, IGridClientSslContext sslCtx, Object credentials, GridClientTopology top) | |
| Creates HTTP client connection. | |
| override void | Close (bool waitCompletion) |
| override bool | CloseIfIdle (TimeSpan timeout) |
| Closes client only if there are no pending requests in map. | |
| override IGridClientFuture < Boolean > | CachePutAll< TKey, TVal > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, IDictionary< TKey, TVal > entries, Guid destNodeId) |
| override IGridClientFuture< TVal > | CacheGet< TKey, TVal > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, TKey key, Guid destNodeId) |
| override IGridClientFuture < Boolean > | CachePut< TKey, TVal > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, TKey key, TVal val, Guid destNodeId) |
| override IGridClientFuture < IDictionary< K, V > > | CacheGetAll< K, V > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, IEnumerable< K > keys, Guid destNodeId) |
| override IGridClientFuture < Boolean > | CacheRemove< K > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, K key, Guid destNodeId) |
| override IGridClientFuture < Boolean > | CacheRemoveAll< K > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, IEnumerable< K > keys, Guid destNodeId) |
| override IGridClientFuture < Boolean > | CacheReplace< K, V > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, K key, V val, Guid destNodeId) |
| override IGridClientFuture < Boolean > | CacheAppend< K, V > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, K key, V val, Guid destNodeId) |
| override IGridClientFuture < Boolean > | CachePrepend< K, V > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, K key, V val, Guid destNodeId) |
| override IGridClientFuture < Boolean > | CacheCompareAndSet< K, V > (String cacheName, ISet< GridClientCacheFlag > cacheFlags, K key, V val1, V val2, Guid destNodeId) |
| override IGridClientFuture < IGridClientDataMetrics > | CacheMetrics (String cacheName, ISet< GridClientCacheFlag > cacheFlags, Guid destNodeId) |
| override IGridClientFuture< T > | Execute< T > (String taskName, Object arg, Guid destNodeId) |
| override IGridClientFuture < IGridClientNode > | Node (Guid id, bool includeAttrs, bool includeMetrics, Guid destNodeId) |
| override IGridClientFuture < IGridClientNode > | Node (String ip, bool includeAttrs, bool includeMetrics, Guid destNodeId) |
| override IGridClientFuture < IList< IGridClientNode > > | Topology (bool includeAttrs, bool includeMetrics, Guid destNodeId) |
| override IGridClientFuture < IList< String > > | Log (String path, int fromLine, int toLine, Guid destNodeId) |
| GridGain.Client.Impl.GridClientHttpConnection.GridClientHttpConnection | ( | Guid | clientId, | |
| IPEndPoint | srvAddr, | |||
| IGridClientSslContext | sslCtx, | |||
| Object | credentials, | |||
| GridClientTopology | top | |||
| ) |
| override IGridClientFuture<Boolean> GridGain.Client.Impl.GridClientHttpConnection.CacheAppend< K, V > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| K | key, | |||
| V | val, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<Boolean> GridGain.Client.Impl.GridClientHttpConnection.CacheCompareAndSet< K, V > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| K | key, | |||
| V | val1, | |||
| V | val2, | |||
| Guid | destNodeId | |||
| ) |
<inheritdoc>
Implements GridGain.Client.Impl.IGridClientConnection.
| override IGridClientFuture<TVal> GridGain.Client.Impl.GridClientHttpConnection.CacheGet< TKey, TVal > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| TKey | key, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Reimplemented from GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<IDictionary<K, V> > GridGain.Client.Impl.GridClientHttpConnection.CacheGetAll< K, V > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| IEnumerable< K > | keys, | |||
| Guid | destNodeId | |||
| ) |
<inheritdoc>
Implements GridGain.Client.Impl.IGridClientConnection.
| override IGridClientFuture<IGridClientDataMetrics> GridGain.Client.Impl.GridClientHttpConnection.CacheMetrics | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<Boolean> GridGain.Client.Impl.GridClientHttpConnection.CachePrepend< K, V > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| K | key, | |||
| V | val, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<Boolean> GridGain.Client.Impl.GridClientHttpConnection.CachePut< TKey, TVal > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| TKey | key, | |||
| TVal | val, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Reimplemented from GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<Boolean> GridGain.Client.Impl.GridClientHttpConnection.CachePutAll< TKey, TVal > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| IDictionary< TKey, TVal > | entries, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<Boolean> GridGain.Client.Impl.GridClientHttpConnection.CacheRemove< K > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| K | key, | |||
| Guid | destNodeId | |||
| ) |
<inheritdoc>
Implements GridGain.Client.Impl.IGridClientConnection.
| override IGridClientFuture<Boolean> GridGain.Client.Impl.GridClientHttpConnection.CacheRemoveAll< K > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| IEnumerable< K > | keys, | |||
| Guid | destNodeId | |||
| ) |
<inheritdoc>
Implements GridGain.Client.Impl.IGridClientConnection.
| override IGridClientFuture<Boolean> GridGain.Client.Impl.GridClientHttpConnection.CacheReplace< K, V > | ( | String | cacheName, | |
| ISet< GridClientCacheFlag > | cacheFlags, | |||
| K | key, | |||
| V | val, | |||
| Guid | destNodeId | |||
| ) |
<inheritdoc>
Implements GridGain.Client.Impl.IGridClientConnection.
| override void GridGain.Client.Impl.GridClientHttpConnection.Close | ( | bool | waitCompletion | ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override bool GridGain.Client.Impl.GridClientHttpConnection.CloseIfIdle | ( | TimeSpan | timeout | ) | [virtual] |
Idle timeout.
True if client was closed.
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<T> GridGain.Client.Impl.GridClientHttpConnection.Execute< T > | ( | String | taskName, | |
| Object | arg, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<IList<String> > GridGain.Client.Impl.GridClientHttpConnection.Log | ( | String | path, | |
| int | fromLine, | |||
| int | toLine, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<IGridClientNode> GridGain.Client.Impl.GridClientHttpConnection.Node | ( | String | ip, | |
| bool | includeAttrs, | |||
| bool | includeMetrics, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<IGridClientNode> GridGain.Client.Impl.GridClientHttpConnection.Node | ( | Guid | id, | |
| bool | includeAttrs, | |||
| bool | includeMetrics, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
| override IGridClientFuture<IList<IGridClientNode> > GridGain.Client.Impl.GridClientHttpConnection.Topology | ( | bool | includeAttrs, | |
| bool | includeMetrics, | |||
| Guid | destNodeId | |||
| ) | [virtual] |
<inheritdoc>
Implements GridGain.Client.Impl.GridClientConnectionAdapter.
1.7.1