c

com.alachisoft.ncache.scala.client

CacheItemVersion

class CacheItemVersion extends AnyRef

Represents the version of each cache item. An instance of this class is used in the optimistic concurrency model to ensure the data integrity.

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

Instance Constructors

  1. new CacheItemVersion(version: Long)

    Creates an instance of CacheItemVersion class.

    Creates an instance of CacheItemVersion class.

    version

    version of the cache item.

  2. new CacheItemVersion()

    Creates an instance of CacheItemVersion class.

  3. new CacheItemVersion(internalVersion: NcCacheItemVersion)

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. def compareTo(itemVersion: CacheItemVersion): Int

    Compare CacheItemVersion with current instance of item version.

    Compare CacheItemVersion with current instance of item version.

    itemVersion

    item version to be compared.

    returns

    0 if two instance are equal. An integer greater then 0 if this instance is greater. An integer less than 0 if this instance is smaller.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def getVersion: Long

    Gets the item version

    Gets the item version

    returns

    Item's version

  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def setVersion(version: Long): Unit

    Sets the item version

    Sets the item version

    version

    Item's version

  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String

    The string representation of CacheItemVersion class.

    The string representation of CacheItemVersion class.

    returns

    a string representation of the object.

    Definition Classes
    CacheItemVersion → AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. 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