public class ReplicaServerFilter extends ServerFilter
Modifier and Type | Field and Description |
---|---|
protected int |
freq |
protected int |
maxQueue |
protected int |
maxThreads |
protected Utils.ServerState |
serverState |
protected Executor |
threadPools |
Constructor and Description |
---|
ReplicaServerFilter() |
ReplicaServerFilter(Map<String,voldemort.store.cachestore.impl.CacheStore> storeMap) |
ReplicaServerFilter(Map<String,voldemort.store.cachestore.impl.CacheStore> storeMap,
int maxThreads) |
Modifier and Type | Method and Description |
---|---|
int |
getFreq() |
org.glassfish.grizzly.filterchain.NextAction |
handleRead(org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
protected void |
init() |
protected void |
processParaList(Request req,
org.glassfish.grizzly.filterchain.FilterChainContext ctx,
Object peerAddress) |
protected void |
setError(ParaList paraList,
String message) |
void |
setFreq(int freq) |
void |
shutdown() |
protected Utils.ServerState serverState
protected int freq
protected int maxThreads
protected int maxQueue
protected Executor threadPools
public ReplicaServerFilter()
public ReplicaServerFilter(Map<String,voldemort.store.cachestore.impl.CacheStore> storeMap)
protected void init()
public void shutdown()
public int getFreq()
public void setFreq(int freq)
public org.glassfish.grizzly.filterchain.NextAction handleRead(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException
handleRead
in interface org.glassfish.grizzly.filterchain.Filter
handleRead
in class ServerFilter
IOException
Copyright © 2016. All rights reserved.