Skip to content

IObjectPool<T>

interface

Namespace: Orleans.Providers.Streams.Common

Simple object pool Interface. Objects allocated should be returned to the pool when disposed.
public interface IObjectPool<T>
where T : System.IDisposable

Methods

  • Allocate Allocates a pooled resource
  • Free(T) Returns a resource to the pool