public class CacheSyncDependency
extends java.lang.Object
Constructor | Description |
---|---|
CacheSyncDependency(java.lang.String remoteCacheId,
java.lang.String key) |
Initializes a new instance of the CacheSyncDependency with the
specified parameters.
|
CacheSyncDependency(java.lang.String remoteCacheId,
java.lang.String key,
java.lang.String userId,
byte[] password) |
Initializes a new instance of the CacheSyncDependency with the
specified parameters.
|
CacheSyncDependency(java.lang.String remoteCacheId,
java.lang.String key,
java.lang.String server,
int port) |
Initializes a new instance of the CacheSyncDependency with the
specified parameters.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getCacheId() |
The unique Id of the remote cache
|
java.lang.String |
getKey() |
The key of the item in the remote cache with which the local cache item needs to be synchronized.
|
byte[] |
getPassword() |
Specifies the user authorization password.
|
int |
getPort() |
The server port that is used by the clients to connect to the server.
|
java.lang.String |
getServer() |
The name of the server where the remote cache is running.
|
java.lang.String |
getUserId() |
Specifies the User Id for user authorization.
|
public CacheSyncDependency(java.lang.String remoteCacheId, java.lang.String key)
remoteCacheId
- The unique id of the remote cache.key
- The key of the item in the remote cache with which the local cache item will be kept synchronized.public CacheSyncDependency(java.lang.String remoteCacheId, java.lang.String key, java.lang.String server, int port)
remoteCacheId
- The unique id of the remote cache.key
- The key of the item in the remote cache with which the local cache item will be kept synchronized.server
- The name of the server where the remote cache is running.port
- The port used by the client to connect to the server.public CacheSyncDependency(java.lang.String remoteCacheId, java.lang.String key, java.lang.String userId, byte[] password)
remoteCacheId
- The unique id of the remote cache.key
- The key of the item in the remote cache with which the local cache item will be kept synchronized.userId
- The user id of the remote cache.password
- The Security password of the remote cache.public java.lang.String getCacheId()
public java.lang.String getKey()
public java.lang.String getServer()
public java.lang.String getUserId()
public byte[] getPassword()
public int getPort()