public interface ReferenceServiceCacheProvider
Modifier and Type | Method and Description |
---|---|
Identified |
get(T2Reference id)
Called before an attempt is made to retrieve an item from the backing
store
|
void |
put(Identified i)
Called after an
Identified has been written to the backing store,
either for the first time or after modification. |
void put(Identified i)
Identified
has been written to the backing store,
either for the first time or after modification. In our model
ReferenceSet
is the only Identified
that is modifiable,
specifically only by the addition of ExternalReferenceSPI
instances to its reference set.i
- the Identified written to the backing storeIdentified get(T2Reference id)
id
- the T2Reference of the item to retrieveT2Reference
, or null
if the cache does not contain that itemCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.