public class SetCacheServer extends AbstractCacheServer
| Modifier and Type | Field and Description |
|---|---|
private SetCache |
cache |
stopped| Constructor and Description |
|---|
SetCacheServer(String identifier,
SSLContext sslContext,
int port,
int maxSize,
EvictionPolicy evictionPolicy,
File persistencePath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
protected boolean |
listen(InputStream in,
OutputStream out,
int version)
Listens for incoming data and communicates with remote peer
|
void |
stop() |
getPort, start, toStringprivate final SetCache cache
public SetCacheServer(String identifier, SSLContext sslContext, int port, int maxSize, EvictionPolicy evictionPolicy, File persistencePath) throws IOException
IOExceptionprotected boolean listen(InputStream in, OutputStream out, int version) throws IOException
AbstractCacheServerlisten in class AbstractCacheServerin - inout - outversion - versiontrue if communications should continue, false otherwiseIOException - expublic void stop()
throws IOException
stop in interface CacheServerstop in class AbstractCacheServerIOExceptionCopyright © 2015 Apache NiFi Project. All rights reserved.