Show / Hide Table of Contents

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
Object
XCacheBase
SystemEventCache
Implements
IFlushable
Inherited Members
XCacheBase.GetCacheAttribute(Type)
XCacheBase.GetCurrentInstance<CacheType>()
XCacheBase.Flush()
XCacheBase.IsCacheInvalidated(Int32, SqlType, Int32)
XCacheBase.Timeout
XCacheBase.LastTouch
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Cache
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
Type Description
DateTime

Methods

CheckRefresh()

Declaration
public bool CheckRefresh()
Returns
Type Description
Boolean

GetCachedTableNumbers()

Declaration
public override int[] GetCachedTableNumbers()
Returns
Type Description
Int32[]
Overrides
XCacheBase.GetCachedTableNumbers()

GetCurrent()

Declaration
public static SystemEventCache GetCurrent()
Returns
Type Description
SystemEventCache

IsAnyPublishEventActive()

Declaration
public bool IsAnyPublishEventActive()
Returns
Type Description
Boolean

IsAnyPublishEventActiveExcept(UDefType)

Declaration
public bool IsAnyPublishEventActiveExcept(UDefType except)
Parameters
Type Name Description
UDefType except
Returns
Type Description
Boolean

IsFreetextRebuildEventActive()

Declaration
public bool IsFreetextRebuildEventActive()
Returns
Type Description
Boolean

IsPublishEventActive(UDefType)

Declaration
public bool IsPublishEventActive(UDefType type)
Parameters
Type Name Description
UDefType type
Returns
Type Description
Boolean

IsPublishStartEventActive(UDefType)

Declaration
public bool IsPublishStartEventActive(UDefType type)
Parameters
Type Name Description
UDefType type
Returns
Type Description
Boolean

Implements

IFlushable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Back to top