Show / Hide Table of Contents

Class QPoolSummary

This class manages pools life cycle: submission, monitor, delete.

Inheritance
object
AQPool
QPoolSummary
Inherited Members
AQPool._api
AQPool._uri
AQPool.Connection
AQPool.Uuid
AQPool.StopAsync(CancellationToken)
AQPool.CloseAsync(CancellationToken)
AQPool.DeleteAsync(bool, bool)
AQPool.UpdateResourcesAsync(CancellationToken)
AQPool.CopyOutputsToAsync(Stream, string, CancellationToken)
AQPool.CopyStdoutToAsync(Stream, CancellationToken)
AQPool.CopyStdoutToAsync(Stream, uint?, CancellationToken)
AQPool.CopyStderrToAsync(Stream, CancellationToken)
AQPool.CopyStderrToAsync(Stream, uint?, CancellationToken)
AQPool.CopyFreshOutputsToAsync(Stream, string, CancellationToken)
AQPool.CopyFreshStdoutToAsync(Stream, CancellationToken)
AQPool.CopyFreshStdoutToAsync(Stream, uint?, CancellationToken)
AQPool.CopyFreshStderrToAsync(Stream, CancellationToken)
AQPool.CopyFreshStderrToAsync(Stream, uint?, CancellationToken)
AQPool.StdoutAsync(CancellationToken)
AQPool.StdoutAsync(uint?, CancellationToken)
AQPool.StderrAsync(CancellationToken)
AQPool.StderrAsync(uint?, CancellationToken)
AQPool.FreshStdoutAsync(CancellationToken)
AQPool.FreshStdoutAsync(uint?, CancellationToken)
AQPool.FreshStderrAsync(CancellationToken)
AQPool.FreshStderrAsync(uint?, CancellationToken)
AQPool.Stop(CancellationToken)
AQPool.Close(CancellationToken)
AQPool.Delete(bool, bool)
AQPool.UpdateResources(CancellationToken)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class QPoolSummary : AQPool

Properties

CreationDate

The pool creation date. Available only after the submission.

Declaration
public virtual DateTime CreationDate { get; }
Property Value
Type Description
DateTime

Name

The pool name.

Declaration
public virtual string Name { get; }
Property Value
Type Description
string

Profile

The pool profile.

Declaration
public virtual string Profile { get; }
Property Value
Type Description
string

QueuedOrRunningTaskInstancesCount

The count of task instances running or enqueued on this pool. Available only after the submission.

Declaration
public virtual int QueuedOrRunningTaskInstancesCount { get; }
Property Value
Type Description
int

Shortname

The pool shortname identifier. The shortname is provided by the user. It has to be unique.

Declaration
public virtual string Shortname { get; }
Property Value
Type Description
string

State

Retrieve the pool state (see QTaskStates). Available only after the submission.

Declaration
public virtual string State { get; }
Property Value
Type Description
string

TaskDefaultWaitForPoolResourcesSynchronization

Default value of WaitForPoolResourcesSynchronization for pool's tasks

Declaration
public virtual bool? TaskDefaultWaitForPoolResourcesSynchronization { get; }
Property Value
Type Description
bool?

Methods

Delete(CancellationToken, bool, bool)

Delete the pool. If the pool is running, the pool is aborted and deleted.

Declaration
[Obsolete("Delete is deprecated, please use DeleteAsync instead.")]
public override void Delete(CancellationToken cancellationToken, bool failIfDoesntExist = false, bool purgeResources = false)
Parameters
Type Name Description
CancellationToken cancellationToken

Optional token to cancel the request.

bool failIfDoesntExist

If set to false and the pool doesn't exist, no exception is thrown. Default is true.

bool purgeResources

Boolean to trigger all resource storages deletion. Default is false.

Overrides
AQPool.Delete(CancellationToken, bool, bool)

DeleteAsync(CancellationToken, bool, bool)

Delete the pool. If the pool is running, the pool is aborted and deleted.

Declaration
public override Task DeleteAsync(CancellationToken cancellationToken, bool failIfDoesntExist = false, bool purgeResources = false)
Parameters
Type Name Description
CancellationToken cancellationToken

Optional token to cancel the request.

bool failIfDoesntExist

If set to false and the pool doesn't exist, no exception is thrown. Default is true.

bool purgeResources

Boolean to trigger all resource storages deletion. Default is false.

Returns
Type Description
Task
Overrides
AQPool.DeleteAsync(CancellationToken, bool, bool)

GetFullQPool(CancellationToken)

Get The Full Pool from this task summary.

Optional token to cancel the request.
Declaration
[Obsolete("GetFullQPool is deprecated, please use GetFullQPoolAsync instead.")]
public virtual QPool GetFullQPool(CancellationToken ct = default)
Parameters
Type Name Description
CancellationToken ct
Returns
Type Description
QPool

GetFullQPoolAsync(CancellationToken)

Get The Full Pool from this pool summary.

Optional token to cancel the request.
Declaration
public virtual Task<QPool> GetFullQPoolAsync(CancellationToken ct = default)
Parameters
Type Name Description
CancellationToken ct
Returns
Type Description
Task<QPool>
In this article
Back to top Generated by DocFX