SiloAddress
class
Namespace: Orleans.Runtime
Data class encapsulating the details of silo addresses.
[Orleans.Immutable][System.Text.Json.Serialization.JsonConverter(Orleans.Runtime.SiloAddressConverter)][Orleans.SuppressReferenceTracking]public sealed class SiloAddress : IComparable<SiloAddress>, IEquatable<SiloAddress>, IFormattable, IParsable<SiloAddress>, ISpanFormattable, IUtf8SpanParsable<SiloAddress>Properties
EndpointGets the endpoint.GenerationGets the generation.IsClientGets a value indicating whether this instance represents a client (versus a server).ZeroGets the special constant value which indicate an emptySiloAddress.
Methods
AllocateNewGenerationAllocate a new silo generation number.CompareTo(SiloAddress?)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.Equals(SiloAddress?)Indicates whether the current object is equal to another object of the same type.Equals(object?)Determines whether the specified object is equal to the current object.FromParsableString(string)Create a new SiloAddress object by parsing string in a standard form returned fromToParsableStringmethod.FromUtf8String(ReadOnlySpan<byte>)Create a new SiloAddress object by parsing string in a standard form returned fromToParsableStringmethod.GetConsistentHashCodeReturns a consistent hash value for this silo address.GetHashCodeServes as the default hash function.GetUniformHashCodes(int)Returns a collection of uniform hash codes variants for this instance.IsPredecessorOf(SiloAddress)Returnstrueif the provided value represents the same logical server as this value and is a predecessor to this server, otherwisefalse.IsSuccessorOf(SiloAddress)Returnstrueif the provided value represents the same logical server as this value and is a successor to this server, otherwisefalse.New(IPAddress, int, int)Factory for creating new SiloAddresses with specified IP endpoint address and silo generation number.New(IPEndPoint, int)Factory for creating new SiloAddresses with specified IP endpoint address and silo generation number.Parse(ReadOnlySpan<byte>)Parses aSiloAddressfrom UTF-8 text in the standard form returned fromSiloAddress.Parse(ReadOnlySpan<byte>, IFormatProvider?)Parses aSiloAddressfrom UTF-8 text in the standard form returned fromSiloAddress.Parse(string)Parses aSiloAddressfrom a string in the standard form returned fromSiloAddress.Parse(string, IFormatProvider?)Parses aSiloAddressfrom a string in the standard form returned fromSiloAddress.ToParsableStringReturn this SiloAddress in a standard string form, suitable for later use with theFromParsableStringmethod.ToStringReturn a long string representation of this SiloAddress.ToStringWithHashCodeReturn a long string representation of this SiloAddress, including it's consistent hash value.TryParse(ReadOnlySpan<byte>, IFormatProvider?, SiloAddress?)Tries to parse aSiloAddressfrom UTF-8 text in the standard form returned fromSiloAddress.TryParse(ReadOnlySpan<byte>, SiloAddress?)Tries to parse aSiloAddressfrom UTF-8 text in the standard form returned fromSiloAddress.TryParse(string?, IFormatProvider?, SiloAddress?)Tries to parse aSiloAddressfrom a string in the standard form returned fromSiloAddress.TryParse(string?, SiloAddress?)Tries to parse aSiloAddressfrom a string in the standard form returned fromSiloAddress.
