TestimoX

API Reference

Class

GroupGraphSnapshotStore

Namespace ADPlayground.Groups
Assembly ADPlayground
Modifiers static

Provides optional persisted storage for GroupGraphSnapshot with USN-aware refresh decisions.

Inheritance

  • Object
  • GroupGraphSnapshotStore

Methods

public static Task<GroupGraphSnapshot> LoadOrBuildAsync(IEnumerable<String> groupIdentities, GroupGraphSnapshotPersistenceOptions options, Int32 maxParallel = 3, Int32 maxDepth = 256, Int32 maxCacheSize = 10000, CancellationToken cancellationToken = null) #
Returns: Task<GroupGraphSnapshot>

Loads a persisted group graph snapshot when fresh; otherwise builds and persists a new snapshot.

Parameters

groupIdentities System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
Root group identities to include in the snapshot scope.
options ADPlayground.Groups.GroupGraphSnapshotPersistenceOptions requiredposition: 1
Persistence options.
maxParallel System.Int32 = 3 optionalposition: 2
Maximum resolver concurrency.
maxDepth System.Int32 = 256 optionalposition: 3
Maximum resolver recursion depth.
maxCacheSize System.Int32 = 10000 optionalposition: 4
Maximum resolver cache size.
cancellationToken System.Threading.CancellationToken = null optionalposition: 5
Cancellation token.

Returns

Loaded or newly built snapshot.