Class RemoteCacheAccess<K,​V>


  • public class RemoteCacheAccess<K,​V>
    extends CacheAccess<K,​V>
    • Constructor Detail

      • RemoteCacheAccess

        public RemoteCacheAccess​(String cacheId,
                                 String cacheRegion,
                                 String keySerializer,
                                 String valueSerializer,
                                 String host,
                                 int port)
      • RemoteCacheAccess

        public RemoteCacheAccess​(String cacheId,
                                 String cacheRegion,
                                 String keySerializer,
                                 String valueSerializer,
                                 String host,
                                 int port,
                                 long memCacheSize)
    • Method Detail

      • establishConnection

        public void establishConnection()
      • put

        public boolean put​(K key,
                           V value)
        Specified by:
        put in class CacheAccess<K,​V>
      • commit

        public void commit()
        Description copied from class: CacheAccess
        Committing the cache contents to file. This is the operation that makes the index actually persistent.
        Specified by:
        commit in class CacheAccess<K,​V>