Package | Description |
---|---|
com.espertech.esper.client |
This package and its sub-packages defines the central Esper Client APIs.
|
com.espertech.esper.epl.db |
Database SQL polling views and caches
|
Modifier and Type | Method and Description |
---|---|
ConfigurationCacheReferenceType |
ConfigurationExpiryTimeCache.getCacheReferenceType()
Returns the enumeration whether hard, soft or weak reference type are used
to control whether the garbage collection can remove entries from cache.
|
static ConfigurationCacheReferenceType |
ConfigurationCacheReferenceType.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 ConfigurationCacheReferenceType |
ConfigurationCacheReferenceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationCacheReferenceType[] |
ConfigurationCacheReferenceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationMethodRef.setExpiryTimeCache(double maxAgeSeconds,
double purgeIntervalSeconds,
ConfigurationCacheReferenceType cacheReferenceType)
Configures an expiry-time cache of the given maximum age in seconds and purge interval in seconds.
|
void |
ConfigurationDBRef.setExpiryTimeCache(double maxAgeSeconds,
double purgeIntervalSeconds,
ConfigurationCacheReferenceType cacheReferenceType)
Configures an expiry-time cache of the given maximum age in seconds and purge interval in seconds.
|
Constructor and Description |
---|
ConfigurationExpiryTimeCache(double maxAgeSeconds,
double purgeIntervalSeconds,
ConfigurationCacheReferenceType cacheReferenceType)
Ctor.
|
Constructor and Description |
---|
DataCacheExpiringImpl(double maxAgeSec,
double purgeIntervalSec,
ConfigurationCacheReferenceType cacheReferenceType,
SchedulingService schedulingService,
long scheduleSlot,
EPStatementAgentInstanceHandle epStatementAgentInstanceHandle,
TimeAbacus timeAbacus)
Ctor.
|