class KeyDependency extends CacheDependency
KeyDependency class is used for providing key based dependency in the cache.
- Alphabetic
- By Inheritance
- KeyDependency
- CacheDependency
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
KeyDependency(key: String, keyDependencyType: NCKeyDependencyType)
Initializes a new instance of the KeyExpiration class that monitors a cache key for changes based on the operation performed (that is specified by keyDependencyType argument) and taking effect instantly.
Initializes a new instance of the KeyExpiration class that monitors a cache key for changes based on the operation performed (that is specified by keyDependencyType argument) and taking effect instantly.
- key
The cache key which will be monitored for the specified operations.
- keyDependencyType
Specifies operation/operations upon which key dependency is to be triggered.
- Exceptions thrown
-
new
KeyDependency(key: String, startAfter: Date)
Initializes a new instance of the KeyExpiration class that monitors a cache key for changes based on the update or remove operation performed and taking effect instantly corresponding to the date specified.
Initializes a new instance of the KeyExpiration class that monitors a cache key for changes based on the update or remove operation performed and taking effect instantly corresponding to the date specified.
- key
The cache key which will be monitored for updation or removal.
- startAfter
The time after which specified key is monitored.
- Exceptions thrown
-
new
KeyDependency(key: String)
Initializes a new instance of the KeyExpiration class that monitors a cache key for changes based on the update or remove operation performed and taking effect instantly.
Initializes a new instance of the KeyExpiration class that monitors a cache key for changes based on the update or remove operation performed and taking effect instantly.
- key
The cache key which will be monitored for updation or removal.
- Exceptions thrown
- new KeyDependency(internalKeyDependency: NCKeyDependency)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated