SaaS CMS has officially launched! Learn more now.

Class VisitorGroupStatisticsLogger

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
VisitorGroupStatisticsLogger
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Personalization.VisitorGroups.Internal
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IVisitorGroupStatisticsLogger), FactoryMember = "Instance", IncludeServiceAccessor = false)]
[ServiceConfiguration(typeof(IVisitorGroupsStatisticsLoggerRegistry), FactoryMember = "Instance", IncludeServiceAccessor = false)]
public class VisitorGroupStatisticsLogger : IVisitorGroupStatisticsLogger, IVisitorGroupsStatisticsLoggerRegistry, IDisposable

Constructors

VisitorGroupStatisticsLogger(Boolean)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. For internal use only

Declaration
public VisitorGroupStatisticsLogger(bool enableTimer)
Parameters
Type Name Description
System.Boolean enableTimer

if set to true [enable timer].

VisitorGroupStatisticsLogger(Boolean, IList<IVisitorGroupStatisticRepository>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. For internal use only

Declaration
public VisitorGroupStatisticsLogger(bool enableTimer, IList<IVisitorGroupStatisticRepository> statisticRepositories)
Parameters
Type Name Description
System.Boolean enableTimer

if set to true [enable timer].

System.Collections.Generic.IList<IVisitorGroupStatisticRepository> statisticRepositories

The statistic repositories.

Properties

AutomaticCommitFromMemoryToRepositoryPeriod

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. For internal use only

Declaration
public TimeSpan AutomaticCommitFromMemoryToRepositoryPeriod { get; set; }
Property Value
Type Description
System.TimeSpan

The automatic commit from memory to repository period.

Enabled

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
System.Boolean

Instance

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. For internal use only

Declaration
public static VisitorGroupStatisticsLogger Instance { get; }
Property Value
Type Description
VisitorGroupStatisticsLogger

The instance.

Methods

AddRepository(IVisitorGroupStatisticRepository)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. For internal use only

Declaration
public void AddRepository(IVisitorGroupStatisticRepository repository)
Parameters
Type Name Description
IVisitorGroupStatisticRepository repository

The repository.

AddStatisticToMemory(Guid, HttpContextBase)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. For internal use only

Declaration
public void AddStatisticToMemory(Guid identity, HttpContextBase httpContext)
Parameters
Type Name Description
System.Guid identity

The identifier.

System.Web.HttpContextBase httpContext

The HTTP context.

CommitStatisticFromMemoryToRepository()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. For internal use only

Declaration
public void CommitStatisticFromMemoryToRepository()

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

RemoveStatistics(IEnumerable<Guid>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. For internal use only

Declaration
public void RemoveStatistics(IEnumerable<Guid> identities)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Guid> identities

The identities.

Events

PersistCollectedStatistic

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public event EventHandler PersistCollectedStatistic
Event Type
Type Description
System.EventHandler

Implements

System.IDisposable

Extension Methods