Click or drag to resize

Cache Methods

The Cache type exposes the following members.

Methods
  NameDescription
Public methodClearCache
Remove all items from the cache.
Public methodDispose
Reset the PC's timing resolution, if changed, and cleanly dispose of the cache's working memory.
Public methodGet(String)
Immediatley retrieve an object from the cache with the given name with no throttling.
Public methodGet(String, Double)
Retrieve an object from the cache with the given name, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Public methodGetBool(String)
Immediatley retrieve a boolean value from the cache with the given name with no throttling.
Public methodGetBool(String, Double)
Retrieve a boolean value from the cache with the given name, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Public methodGetDouble(String)
Immediatley retrieve a double value from the cache with the given name with no throttling.
Public methodGetDouble(String, Double)
Retrieve a double value from the cache with the given name, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Public methodGetInt(String)
Immediatley retrieve an integer value from the cache with the given name with no throttling.
Public methodGetInt(String, Double)
Retrieve an integer value from the cache with the given name, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Public methodGetString(String)
Immediatley retrieve a string value from the cache with the given name with no throttling.
Public methodGetString(String, Double)
Retrieve a string value from the cache with the given name, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Public methodRemove
Remove a an item with a specific name from the cache
Public methodSet(String, Object, Double)
Save an object in the cache with the given name and time to live.
Public methodSet(String, Object, Double, Double)
Save an object in the cache with the given name and time to live, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Public methodSetBool(String, Boolean, Double)
Save a boolean value in the cache with the given name and time to live.
Public methodSetBool(String, Boolean, Double, Double)
Save a boolean value in the cache with the given name and time to live, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Public methodSetDouble(String, Double, Double)
Save a double value in the cache with the given name and time to live.
Public methodSetDouble(String, Double, Double, Double)
Save a double value in the cache with the given name and time to live, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Public methodSetInt(String, Int32, Double)
Save an integer value in the cache with the given name and time to live.
Public methodSetInt(String, Int32, Double, Double)
Save an integer value in the cache with the given name and time to live, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Public methodSetString(String, String, Double)
Save a string value in the cache with the given name and time to live.
Public methodSetString(String, String, Double, Double)
Save a string value in the cache with the given name and time to live, restricting maximum call frequency to the range 2 to 1000 calls per second if required.
Top
See Also