public interface CTBCacheContext extends Serializable
Modifier and Type | Method and Description |
---|---|
Object |
getContext()
Gets the context-related information - any object - from the
CTBCacheContext . |
void |
setContext(Object context)
Sets context-related information - any object - onto this
CTBCacheContext . |
void setContext(Object context)
CTBCacheContext
.
This object can be passed to the get method that would cause the load
method, in the
cache loader, which accepts the CTBCacheContext
to be called
to load the
object into the cache. Then this context information is available to help
load the cache.context
- Object
that contains context-related information.Object getContext()
CTBCacheContext
.
This object can be passed to the either of the get
methods
(CTBCacheService.get(String, Object, CTBCacheContext)
or
CTBCacheService.get(String, Object)
)
in the CTBCacheService
. The caching framework internally
calls the corresponding load
method
for loading the object into the cache. This context information is then
available
to help load the cache.Object
that contains context-related information.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved