com.ibm.wsspi.adaptable.module

Interface NonPersistentCache


  1. public interface NonPersistentCache

Method Summary

Modifier and Type Method and Description
  1. void
addToCache(java.lang.Class<?> owner,java.lang.Object data)
Stores some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
  1. java.lang.Object
getFromCache(java.lang.Class<?> owner)
Obtains some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
  1. void
removeFromCache(java.lang.Class<?> owner)
Removes some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.

Method Detail

addToCache

  1. void addToCache(java.lang.Class<?> owner,
  2. java.lang.Object data)
Stores some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
Parameters:
owner - Class of caller setting data, allows multiple adapters to cache against a given container/entry.
data - Data to store for caller.

removeFromCache

  1. void removeFromCache(java.lang.Class<?> owner)
Removes some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
Parameters:
owner - Class of caller getting data, allows multiple adapters to cache against a given container/entry.

getFromCache

  1. java.lang.Object getFromCache(java.lang.Class<?> owner)
Obtains some data associated with the given container/entry within non persistent in memory cache associated with its overlay instance.
Parameters:
owner - Class of caller getting data, allows multiple adapters to cache against a given container/entry.