c

com.alachisoft.ncache.scala.client

CacheSyncDependency

class CacheSyncDependency extends AnyRef

Initializes a new instance of the CacheSyncDependency with the specified parameters. Internally it tries to initialize the remote cache. If the cache can not be initialized, it throws the exception describing the cause of failure. The remote cache must be running as outproc even if it is on the same machine. The information to connect to the remote cache instance (like server-name and server-port) are picked from the 'client.conf'.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CacheSyncDependency
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CacheSyncDependency(remoteCacheId: String, key: String, userId: String, password: Array[Byte])

    Initializes a new instance of the CacheSyncDependency with the specified parameters.

    Initializes a new instance of the CacheSyncDependency with the specified parameters. Internally it tries to initialize the remote cache. If the cache can not be initialized, it throws the exception describing the cause of failure. The remote cache must be running as outproc even if it is on the same machine.

    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.

  2. new CacheSyncDependency(remoteCacheId: String, key: String, server: String, port: Int)

    Initializes a new instance of the CacheSyncDependency with the specified parameters.

    Initializes a new instance of the CacheSyncDependency with the specified parameters. Internally it tries to initialize the remote cache. If the cache can not be initialized, it throws the exception describing the cause of failure. The remote cache must be running as outproc even if it is on the same machine.

    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.

  3. new CacheSyncDependency(remoteCacheId: String, key: String)

    Initializes a new instance of the CacheSyncDependency with the specified parameters.

    Initializes a new instance of the CacheSyncDependency with the specified parameters. Internally it tries to initialize the remote cache. If the cache can not be initialized, it throws the exception describing the cause of failure. The remote cache must be running as outproc even if it is on the same machine. The information to connect to the remote cache instance (like server-name and server-port) are picked from the 'client.conf'.

    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.

  4. new CacheSyncDependency(internalCacheSyncDependency: <error>)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def getCacheId: String

    The unique Id of the remote cache

    The unique Id of the remote cache

    returns

    The string cacheid.

  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def getKey: String

    The key of the item in the remote cache with which the local cache item needs to be synchronized.

    The key of the item in the remote cache with which the local cache item needs to be synchronized.

    returns

    The string key of the item in remote cache.

  11. def getPassword: Array[Byte]

    Specifies the user authorization password.

    Specifies the user authorization password.

    returns

    The password required for user authorization.

  12. def getPort: Int

    The server port that is used by the clients to connect to the server.

    The server port that is used by the clients to connect to the server.

    returns

    The integer value of the port.

  13. def getServer: String

    The name of the server where the remote cache is running.

    The name of the server where the remote cache is running.

    returns

    The name of the server. or the IP.

  14. def getUserId: String

    Specifies the User Id for user authorization.

    Specifies the User Id for user authorization.

    returns

    The user id.

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped