Class SystemEventCache
Class implementing caching of system events.
In some db's we check system events thousands of times per minute, a one minute cache should decrease the load significantly.
Inheritance
SystemEventCache
Assembly: SoDataBase.dll
Syntax
[Cache(60, "Database")]
public class SystemEventCache : XCacheBase, IFlushable
Constructors
SystemEventCache()
Declaration
[SoInjectConstructor]
protected SystemEventCache()
Properties
LastRead
Declaration
public DateTime LastRead { get; }
Property Value
Methods
CheckRefresh()
Declaration
public bool CheckRefresh()
Returns
GetCachedTableNumbers()
Declaration
public override int[] GetCachedTableNumbers()
Returns
Overrides
GetCurrent()
Declaration
public static SystemEventCache GetCurrent()
Returns
IsAnyPublishEventActive()
Declaration
public bool IsAnyPublishEventActive()
Returns
IsAnyPublishEventActiveExcept(UDefType)
Declaration
public bool IsAnyPublishEventActiveExcept(UDefType except)
Parameters
Returns
IsFreetextRebuildEventActive()
Declaration
public bool IsFreetextRebuildEventActive()
Returns
IsPublishEventActive(UDefType)
Declaration
public bool IsPublishEventActive(UDefType type)
Parameters
Returns
IsPublishStartEventActive(UDefType)
Declaration
public bool IsPublishStartEventActive(UDefType type)
Parameters
Returns
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)