|
GigaSpaces XAP 7.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openspaces.admin.esm.deployment.MemorySla
public class MemorySla
Memory Service Level Agreement (SLA) specifying the threshold to trigger memory breach. Threshold is breached if memory usage percentage is above or below the specified threshold.
Disclaimer: This interface and the elastic data grid functionality is provided as a technology preview in XAP 7.1. As such, it is subject to API and behavior changes in the next XAP releases without going through the usual deprecation process of the XAP API.
Constructor Summary | |
---|---|
MemorySla(String threshold)
An SLA with a memory threshold percentage and a default moving average subset size of 6 (Six samples five seconds apart, giving a total of a 30 seconds window). |
|
MemorySla(String threshold,
int subsetSize)
An SLA with a memory threshold percentage and a given moving average subset size (samples are five seconds apart, giving a total of a subsetSize*5 seconds window). |
Method Summary | |
---|---|
int |
getSubsetSize()
Returns the moving average subset size. |
int |
getThreshold()
Returns the threshold integer value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemorySla(String threshold)
threshold
- A memory usage percentage (e.g. 75%).public MemorySla(String threshold, int subsetSize)
threshold
- A memory usage percentage (e.g. 75%).subsetSize
- A subset size for calculating a moving average of memory statistics.Method Detail |
---|
public int getThreshold()
public int getSubsetSize()
|
GigaSpaces XAP 7.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |