Package | Description |
---|---|
com.espertech.esper.common.client.configuration.common |
Configuration classes for the common section, which is relevant to both the compiler and the runtime
|
com.espertech.esper.common.client.util |
Client utility classes.
|
com.espertech.esper.common.internal.epl.historical.datacache |
Modifier and Type | Method and Description |
---|---|
CacheReferenceType |
ConfigurationCommonCacheExpiryTime.getCacheReferenceType()
Returns the enumeration whether hard, soft or weak reference type are used
to control whether the garbage collection can remove entries from cache.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationCommonMethodRef.setExpiryTimeCache(double maxAgeSeconds,
double purgeIntervalSeconds,
CacheReferenceType cacheReferenceType)
Configures an expiry-time cache of the given maximum age in seconds and purge interval in seconds.
|
void |
ConfigurationCommonDBRef.setExpiryTimeCache(double maxAgeSeconds,
double purgeIntervalSeconds,
CacheReferenceType cacheReferenceType)
Configures an expiry-time cache of the given maximum age in seconds and purge interval in seconds.
|
Constructor and Description |
---|
ConfigurationCommonCacheExpiryTime(double maxAgeSeconds,
double purgeIntervalSeconds,
CacheReferenceType cacheReferenceType)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static CacheReferenceType |
CacheReferenceType.getDefault()
The default policy is set to WEAK to reduce the chance that out-of-memory errors occur
as caches fill, and stay backwards compatible with prior Esper releases.
|
static CacheReferenceType |
CacheReferenceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheReferenceType[] |
CacheReferenceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
HistoricalDataCacheExpiringImpl(double maxAgeSec,
double purgeIntervalSec,
CacheReferenceType cacheReferenceType,
AgentInstanceContext agentInstanceContext,
long scheduleSlot)
Ctor.
|
Copyright © 2005–2022. All rights reserved.