public class FreeMemoryProcessor extends Object implements RequestChainProcessor
| Constructor and Description |
|---|
FreeMemoryProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
freeEvenMoreMemory(long freeMemory,
long totalMemory) |
protected void |
freeSomeMemory(long freeMemory,
long totalMemory) |
float |
getMinMemoryPercentage() |
long |
getMinMemorySize() |
protected boolean |
isLowMemory(long freeMemory,
long totalMemory) |
boolean |
processRequest(CommandRequest request)
Make required processing of request.
|
void |
setMinMemoryPercentage(float minMemoryPercentage) |
void |
setMinMemorySize(long minMemorySize) |
public long getMinMemorySize()
public void setMinMemorySize(long minMemorySize)
public float getMinMemoryPercentage()
public void setMinMemoryPercentage(float minMemoryPercentage)
public boolean processRequest(CommandRequest request) throws Exception
RequestChainProcessorprocessRequest in interface RequestChainProcessorExceptionprotected void freeSomeMemory(long freeMemory,
long totalMemory)
protected void freeEvenMoreMemory(long freeMemory,
long totalMemory)
protected boolean isLowMemory(long freeMemory,
long totalMemory)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.