Show / Hide Table of Contents

Class Epoch.Discardable

Represents an object which lifetime is controlled by Epoch internal Garbage Collector.

Inheritance
object
Epoch.Discardable
Implements
IThreadPoolWorkItem
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext.Threading
Assembly: DotNext.dll
Syntax
public abstract class Epoch.Discardable : IThreadPoolWorkItem

Constructors

View Source

Discardable()

Declaration
protected Discardable()

Methods

View Source

Discard()

Automatically called by Epoch infrastructure to clean up resources associated with this object.

Declaration
protected abstract void Discard()

Implements

IThreadPoolWorkItem

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾