Table of Contents

Interface IComputePool

Namespace
Balsam.Optimization
Assembly
Balsam.Backtester.dll

A interface for managing a pool of compute resources.

public interface IComputePool : IEnumerable<ComputeNode>, IEnumerable
Inherited Members
Extension Methods

Properties

Count

Gets the number of currently available compute nodes in the pool.

int Count { get; }

Property Value

int

Methods

Add(ComputeNode)

Adds a compute node to the pool.

void Add(ComputeNode item)

Parameters

item ComputeNode

Get()

Gets the next available compute node from the pool.

ComputeNode Get()

Returns

ComputeNode

Release(ComputeNode)

Releases a compute node back to the pool for reuse.

void Release(ComputeNode item)

Parameters

item ComputeNode