Class CacheConfig
- java.lang.Object
-
- org.apache.ignite.examples.streaming.wordcount.CacheConfig
-
public class CacheConfig extends java.lang.ObjectConfiguration for the streaming cache to store the stream of words. This cache is configured with sliding window of 1 second, which means that data older than 1 second will be automatically removed from the cache.
-
-
Constructor Summary
Constructors Constructor Description CacheConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CacheConfiguration<AffinityUuid,java.lang.String>wordCache()
-
-
-
Method Detail
-
wordCache
public static CacheConfiguration<AffinityUuid,java.lang.String> wordCache()
- Returns:
- Streaming cache configuration.
-
-