[This is preliminary documentation and is subject to change.]
The CacheStore type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| CacheStore | Initializes a new instance of the CacheStore class | |
| CacheStore(String) | Initializes a new instance of the CacheStore class |
Methods
| Name | Description | |
|---|---|---|
| __setComponentDirector | (Inherited from ApplicationComponent.) | |
| Configure |
Configures store from node, if node==null then store will be configured by named node of 'app/cache/store[name=X]' path, if such path
is not found the store tries to find 'app/cache/store[!name]' (node without name)
| |
| Destructor | (Overrides ApplicationComponent Destructor .) | |
| Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) | |
| DropTable |
Drops table by name returning true if it was found and removed
| |
| EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) | |
Determines whether the specified object is equal to the current object. (Inherited from | ||
| ExternalGetParameter |
Gets external parameter value returning true if parameter was found
| |
| ExternalParametersForGroups |
Returns named parameters that can be used to control this component
| |
| ExternalSetParameter |
Sets external parameter value returning true if parameter was found and set
| |
| Finalize | (Inherited from DisposableObject.) | |
Serves as the default hash function. (Inherited from | ||
Gets the (Inherited from | ||
| log | ||
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from |
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| CONFIG_CACHE_SECTION | ||
| CONFIG_STORE_SECTION | ||
| CONFIG_TABLE_SECTION |
Properties
| Name | Description | |
|---|---|---|
| ComponentCommonName |
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations.
This name is searched-by some management tools that allow to find component by this name that does not change between
application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from ApplicationComponent.) | |
| ComponentDirector |
Returns a reference to an object that this app component services/operates under, or null
(Inherited from ApplicationComponent.) | |
| ComponentSID |
Returns process/instance unique app component system id
(Inherited from ApplicationComponent.) | |
| ComponentStartTime |
Returns local computer time of component start (not from application container time)
(Inherited from ApplicationComponent.) | |
| Count |
Returns total number of records in all tables in the store
| |
| DefaultTableOptions |
Sets default options for a table which is not found in TableOptions collection.
If this property is null then every table assumes the set of constant values defined in Table class
| |
| Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) | |
| DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) | |
| ExternalParameters |
Returns named parameters that can be used to control this component
| |
| InstrumentationEnabled |
When true, emits instrumentation messages
| |
| isRunning | ||
| Item String |
Returns a table by its name creating its' instance if such table is not in the set. Table names are case-insensitive
| |
| Item String, UInt64 |
Returns a cached record from named table identified by the key or null if this item was not found
| |
| Name |
Returns store name which can be used to identify stores in registries and instrumentation/telemetry outputs
| |
| ParallelSweep |
When enabled, uses parallel execution while sweeping tables, otherwise sweeps sequentially (default behavior)
| |
| TableOptions |
Returns table options - used for table creation
| |
| Tables |
Returns all tables that this store currently contains
|
See Also