streamcruncher.api
Class ResultSetCacheConfig
java.lang.Object
streamcruncher.api.ResultSetCacheConfig
- All Implemented Interfaces:
- java.io.Serializable
public class ResultSetCacheConfig
- extends java.lang.Object
- implements java.io.Serializable
The Kernel performs many operations inside its own Process. There are also a
few operations that are performed inside the underlying Database. However, it
interfaces seamlessly and transparently with the Database, which is also why
the Query Language is an extension of SQL.
To improve performance and to reduce latency, the Kernel handles some of the
Pre-Filter Queries on its own instead of going to the Database. In cases
where the Pre-Filter references a Database Table - via the
.. IN (SELECT .. FROM ..) or the
NOT IN (SELECT .. FROM ..) clauses, the Kernel caches the
results of those Sub-Queries. This class is used to specify how often
the results of those Sub-Query fragments have to refreshed by the Kernel i.e
how often it should be fetched from the Database. This class is
Thread-safe.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultRefreshIntervalMsecs
public static final long defaultRefreshIntervalMsecs
- 3600000L
- See Also:
- Constant Field Values
ResultSetCacheConfig
public ResultSetCacheConfig()
getRefreshIntervalMsecs
public long getRefreshIntervalMsecs()
setRefreshIntervalMsecs
public void setRefreshIntervalMsecs(long refreshIntervalMsecs)
Copyright © 2006 - 2008 Ashwin Jayaprakash. All Rights Reserved.
(Docs generated on 3-November-2007 )