TestimoX

API Reference

Class

CxResilience

Namespace ComputerX.Resilience
Assembly ComputerX
Modifiers static

Global knobs for ComputerX built-in resiliency and performance behaviors. Defaults keep behavior safe and fast for remote hosts without changing local semantics.

Inheritance

  • Object
  • CxResilience

Methods

public static Boolean IsHostUnreachable(String host) #
Returns: Boolean

Returns true when the host is currently considered unreachable by the library's negative cache. Public wrapper to avoid exposing the cache type across assemblies.

Parameters

host System.String requiredposition: 0
public static Boolean ProbeRpcOnceFast(String host) #
Returns: Boolean

Performs a quick single-flight RPC135 probe with the configured timeout. Returns true when connect succeeded, false otherwise.

Parameters

host System.String requiredposition: 0
public static Boolean ShouldAttemptHost(String host) #
Returns: Boolean

Returns true when the host should be attempted now (not in a negative cache window). Public facade over internal cache for consumers in other assemblies.

Parameters

host System.String requiredposition: 0

Properties

public static Boolean SkipUnreachableHosts { get; set; } #

When true, short-circuits expensive remote calls (WMI/CIM/Registry) for hosts that are very likely unreachable based on recent failures or a quick RPC probe.

public static TimeSpan NegativeCacheTtl { get; set; } #

Duration to treat a host as unreachable after a connectivity failure (negative cache).

public static TimeSpan RpcProbeTimeout { get; set; } #

Timeout used by the quick TCP RPC probe (port 135) to assess reachability.

public static TimeSpan WmiDefaultTimeout { get; set; } #

Default timeout for WMI/CIM queries when the caller does not specify one. Applied in high-level helpers to keep operations bounded.