InfinispanDG class describes an Infinispan Cluster and is the main API entry point.
More...
|
| InfinispanDG () |
| Constructor for the InfinispanDG class. The returned instance is blank and needs to be properly setup before any operation can be executed on the Infinispan cluster. Most of the configuration is exposed as properties or public methods.
|
|
bool | SwitchCluster (string clusterName) |
|
InfinispanHost | AddHost (string host, int port=11222) |
| Add a cluster node to the initial list of nodes for the DEFAULT_CLUSTER. More...
|
|
InfinispanHost | AddHost (string clusterName, string host, int port=11222) |
| Add a cluster node to the initial list of nodes for the specified cluster. If applied to the active cluster, the current list of active node is discarded and replace with the new list. i.e. all the nodes info received via topology update are discarded. More...
|
|
Cache< K, V > | NewCache< K, V > (Marshaller< K > keyM, Marshaller< V > valM, string name) |
| Returns a proxy to a remote cache on the server More...
|
|
void | EnableLog (LogType type) |
|
void | Log (LogType type, string message) |
|
void | Dispose () |
|
IDictionary< int, ISet< K > > | SplitBySegment< K > (Marshaller< K > km, CacheBase cache, ICollection< K > keys) |
|
IDictionary< int, IDictionary< K, V > > | SplitKeyValueBySegment< K, V > (Marshaller< K > km, CacheBase cache, IDictionary< K, V > map) |
|
|
bool | ForceReturnValue = false |
| Force the server must include a return value in the respose
|
|
bool | UseTLS = false |
| Enable TLS communication
|
|
X509Chain | CACert |
| Certification chain for server certificate verification. Leave it null for no verification.
|
|
string | ServiceName = "hotrod" |
|
|
string | User [getset] |
| Username for the connection credentials
|
|
string | Password [getset] |
| Password for the connection credentials
|
|
string | AuthMech [getset] |
| SASL authentication mechanism
|
|
string | Domain = "infinispan" [getset] |
| SASL domain name
|
|
byte | Version = 0x1f [getset] |
| HotRod protocol version
|
|
byte | ClientIntelligence = 0x02 [getset] |
| Client intelligence. Supported values are: 0x01 (basic) and 0x03 (hash-distribution)
|
|
InfinispanDG class describes an Infinispan Cluster and is the main API entry point.
◆ AddHost() [1/2]
InfinispanHost Infinispan.Hotrod.Core.InfinispanDG.AddHost |
( |
string |
clusterName, |
|
|
string |
host, |
|
|
int |
port = 11222 |
|
) |
| |
Add a cluster node to the initial list of nodes for the specified cluster. If applied to the active cluster, the current list of active node is discarded and replace with the new list. i.e. all the nodes info received via topology update are discarded.
- Parameters
-
clusterName | name of the owner cluster |
host | node address |
port | port |
ssl | overrides the cluster TLS setting |
- Returns
◆ AddHost() [2/2]
InfinispanHost Infinispan.Hotrod.Core.InfinispanDG.AddHost |
( |
string |
host, |
|
|
int |
port = 11222 |
|
) |
| |
Add a cluster node to the initial list of nodes for the DEFAULT_CLUSTER.
- Parameters
-
host | node address |
port | port |
- Returns
◆ NewCache< K, V >()
Cache< K, V > Infinispan.Hotrod.Core.InfinispanDG.NewCache< K, V > |
( |
Marshaller< K > |
keyM, |
|
|
Marshaller< V > |
valM, |
|
|
string |
name |
|
) |
| |
Returns a proxy to a remote cache on the server
The returned Cache object allows the execution of all the remote operation on the Infinispan cluster.
- Template Parameters
-
K | Type of the key |
V | Type of the value |
- Parameters
-
- Returns
- the cache object
The documentation for this class was generated from the following file: