CacheOptions class Null safety
Options for configuring cache. Allows to specify where and which entities should be cached and preserved in cache
Constructors
Properties
-
channelCachePolicy
↔ CachePolicy<
IChannel> -
Defines which channel entities are preserved in cache.
read / write
- channelCachePolicyLocation ↔ CachePolicyLocation
-
Defines where channel entities are preserved cache. Defaults to CachePolicyLocation with additional objectConstructor set to true
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
memberCachePolicy
↔ CachePolicy<
IMember> -
Defines which members are preserved in cache
read / write
- memberCachePolicyLocation ↔ CachePolicyLocation
-
Defines in which locations members will be cached
read / write
-
messageCachePolicy
↔ CachePolicy<
IMessage> -
Defines which members are preserved in cache
read / write
- messageCachePolicyLocation ↔ CachePolicyLocation
-
Defines in which locations members will be cached
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- userCachePolicyLocation ↔ CachePolicyLocation
-
Defines in which places user can be cached
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited