public class RLMQuotaManagerConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INACTIVE_SENSOR_EXPIRATION_TIME_SECONDS |
| Constructor and Description |
|---|
RLMQuotaManagerConfig(long quotaBytesPerSecond,
int numQuotaSamples,
int quotaWindowSizeSeconds)
Configuration settings for quota management
|
| Modifier and Type | Method and Description |
|---|---|
int |
numQuotaSamples() |
long |
quotaBytesPerSecond() |
int |
quotaWindowSizeSeconds() |
String |
toString() |
public static final int INACTIVE_SENSOR_EXPIRATION_TIME_SECONDS
public RLMQuotaManagerConfig(long quotaBytesPerSecond,
int numQuotaSamples,
int quotaWindowSizeSeconds)
quotaBytesPerSecond - The quota in bytes per secondnumQuotaSamples - The number of samples to retain in memoryquotaWindowSizeSeconds - The time span of each sample