[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Configures an expiry-time cache of the given maximum age in seconds and pruge interval in seconds.
Namespace: net.esper.client
Assembly:
NEsper (in NEsper.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overridable Sub SetExpiryTimeCache ( _
maxAgeSeconds As Double, _
purgeIntervalSeconds As Double _
) |
| C# |
|---|
public virtual void SetExpiryTimeCache (
double maxAgeSeconds,
double purgeIntervalSeconds
) |
| Visual C++ |
|---|
public:
virtual void SetExpiryTimeCache (
double maxAgeSeconds,
double purgeIntervalSeconds
) |
Parameters
- maxAgeSeconds
- System.Double
is the maximum number of seconds before a query result is considered stale (also known as time-to-live)
- purgeIntervalSeconds
- System.Double
is the interval at which the engine purges stale data from the cache