Class SrxDocumentCache


  • public class SrxDocumentCache
    extends java.lang.Object
    Represents SRX document cache. Responsible for managing cached data.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​java.lang.Object> map  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String key)
      Retrieves object from cache.
      void put​(java.lang.String key, java.lang.Object value)
      Puts an object in cache.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • map

        private java.util.Map<java.lang.String,​java.lang.Object> map
    • Constructor Detail

      • SrxDocumentCache

        public SrxDocumentCache()
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.String key)
        Retrieves object from cache.
        Parameters:
        key -
        Returns:
        value object
      • put

        public void put​(java.lang.String key,
                        java.lang.Object value)
        Puts an object in cache.
        Parameters:
        key -
        value - value object