Class VisitorGroupStatisticsLogger
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
Inherited Members
Namespace: EPiServer.Personalization.VisitorGroups.Internal
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7Syntax
[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 |
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 |
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 |