com.hazelcast.jet

## Interface ICacheJet<K,V>

- Type Parameters:
    `K` - the type of keys maintained by this cache
    `V` - the type of values
  All Superinterfaces:
    AutoCloseable, javax.cache.Cache<K,V>, Closeable, DistributedObject, ICache<K,V>, Iterable<javax.cache.Cache.Entry<K,V>>, PrefixedDistributedObject

      public interface ICacheJet<K,V>
      extends ICache<K,V>

  A distributed, in-memory implementation of `JCache` specification.

  The entries of the cache are distributed across the whole cluster and partitioned by key.

  Main difference with `IMapJet` is that the API implements JCache specification rather than `ConcurrentMap`, otherwise both implementations have a lot of similarities.

  As with `IMapJet`, it's possible to use the cache as a data source or sink in a Jet `Pipeline`, using `Sources.cache(String)` or `Sinks.cache(String)` and the change stream of the cache can be read using `Sources.cacheJournal(String, JournalInitialPosition)`.

  See Also:
    `ICache`, `Sources.cache(String)`, `Sources.cacheJournal(String, JournalInitialPosition)`, `(String)`

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface javax.cache.Cache

      `javax.cache.Cache.Entry<K,V>`

  - ### Method Summary

    - ### Methods inherited from interface com.hazelcast.cache.ICache

      `addPartitionLostListener, destroy, get, getAll, getAndPut, getAndPutAsync, getAndPutAsync, getAndRemoveAsync, getAndReplace, getAndReplaceAsync, getAndReplaceAsync, getAsync, getAsync, getLocalCacheStatistics, isDestroyed, iterator, put, putAll, putAsync, putAsync, putIfAbsent, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, removePartitionLostListener, replace, replace, replaceAsync, replaceAsync, replaceAsync, replaceAsync, size`

    - ### Methods inherited from interface javax.cache.Cache

      `clear, close, containsKey, deregisterCacheEntryListener, get, getAll, getAndPut, getAndRemove, getAndReplace, getCacheManager, getConfiguration, getName, invoke, invokeAll, isClosed, iterator, loadAll, put, putAll, putIfAbsent, registerCacheEntryListener, remove, remove, removeAll, removeAll, replace, replace, unwrap`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

    - ### Methods inherited from interface com.hazelcast.core.PrefixedDistributedObject

      `getPrefixedName`

    - ### Methods inherited from interface com.hazelcast.core.DistributedObject

      `getName, getPartitionKey, getServiceName`

Copyright © 2018. All rights reserved.