This project has retired. For details please refer to its Attic page.
Protos.DomainInfo
JavaScript is disabled on your browser.
Skip navigation links
org.apache.mesos

Class Protos.DomainInfo

  • All Implemented Interfaces:
    Protos.DomainInfoOrBuilder
    Enclosing class:
    Protos


    public static final class Protos.DomainInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements Protos.DomainInfoOrBuilder 
     Describes a domain. A domain is a collection of hosts that have
     similar characteristics. Mesos currently only supports "fault
     domains", which identify groups of hosts with similar failure
     characteristics.
     Frameworks can generally assume that network links between hosts in
     the same fault domain have lower latency, higher bandwidth, and better
     availability than network links between hosts in different domains.
     Schedulers may prefer to place network-intensive workloads in the
     same domain, as this may improve performance. Conversely, a single
     failure that affects a host in a domain may be more likely to
     affect other hosts in the same domain; hence, schedulers may prefer
     to place workloads that require high availability in multiple
     domains. (For example, all the hosts in a single rack might lose
     power or network connectivity simultaneously.)
     There are two kinds of fault domains: regions and zones. Regions
     offer the highest degree of fault isolation, but network latency
     between regions is typically high (typically >50 ms). Zones offer a
     modest degree of fault isolation along with reasonably low network
     latency (typically <10 ms).
     The mapping from fault domains to physical infrastructure is up to
     the operator to configure. In cloud environments, regions and zones
     can be mapped to the "region" and "availability zone" concepts
     exposed by most cloud providers, respectively. In on-premise
     deployments, regions and zones can be mapped to data centers and
     racks, respectively.
     Both masters and agents can be configured with domains. Frameworks
     can compare the domains of two hosts to determine if the hosts are
     in the same zone, in different zones in the same region, or in
     different regions. Note that all masters in a given Mesos cluster
     must be in the same region.
     Complex deployments may have additional levels of hierarchy: for example,
     multiple racks might be grouped together into "halls" and multiple DCs in
     the same geographical vicinity might be grouped together. As a convention,
     the recommended way to represent additional levels of hierarchy is via dot-
     separated labels in the existing zone and region fields. For example, the
     fact that racks "abc" and "def" are in the same hall might be represented
     using the zone names "rack-abc.hall-1" and "rack-def.hall-1", for example.
     Software that is not aware of this additional structure will compare the
     zone names for equality- hence, the two zones will be treated as different
     (unrelated) zones. Software that is "hall-aware" can inspect the zone names
     and make use of the additional hierarchy.
     
    Protobuf type mesos.DomainInfo
    • Field Detail

      • FAULT_DOMAIN_FIELD_NUMBER

        public static final int FAULT_DOMAIN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARSER

        @Deprecated
        public static final <any> PARSER
        Deprecated.
    • Method Detail

      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      • isInitialized

        public final boolean isInitialized()
      • writeTo

        public void writeTo(com.google.protobuf.CodedOutputStream output)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
      • equals

        public boolean equals(java.lang.Object obj)
      • hashCode

        public int hashCode()
      • parseFrom

        public static Protos.DomainInfo parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.DomainInfo parseFrom(java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.DomainInfo parseFrom(com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.DomainInfo parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.DomainInfo parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.DomainInfo parseFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.DomainInfo parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.DomainInfo parseDelimitedFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.DomainInfo parseFrom(com.google.protobuf.CodedInputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.DomainInfo parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        protected Protos.DomainInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      • parser

        public static <any> parser()
      • getParserForType

        public <any> getParserForType()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /