API Reference
CxResilience
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) #BooleanReturns 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
public static Boolean ProbeRpcOnceFast(String host) #BooleanPerforms a quick single-flight RPC135 probe with the configured timeout. Returns true when connect succeeded, false otherwise.
Parameters
- host System.String
public static Boolean ShouldAttemptHost(String host) #BooleanReturns 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
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.