Skip to main content

SetCacheServer

Description

Provides a set (collection of unique values) cache that can be accessed over a socket. Interaction with this service is typically accomplished via a DistributedSetCacheClient service.

Tags

cache, distinct, distributed, server, set

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Port *Port4557The port to listen on for incoming connections
Maximum Cache Entries *Maximum Cache Entries10000The maximum number of cache entries that the cache can hold
Eviction Strategy *Eviction StrategyLeast Frequently Used
  • Least Frequently Used
  • Least Recently Used
  • First In, First Out
Determines which strategy should be used to evict values from the cache to make room for new entries
Persistence DirectoryPersistence DirectoryIf specified, the cache will be persisted in the given directory; if not specified, the cache will be in-memory only
SSL Context ServiceSSL Context ServiceController Service:
RestrictedSSLContextService

Implementations:
StandardRestrictedSSLContextService
If specified, this service will be used to create an SSL Context that will be used to secure communications; if not specified, communications will not be secure
Maximum Read Sizemaximum-read-size1 MBThe maximum number of network bytes to read for a single cache item

State Management

This component does not store state.

Restricted

This component is not restricted.

System Resource Considerations

This component does not specify system resource considerations.

See Also