Class GoogleCloudSnitch

  • All Implemented Interfaces:
    IEndpointSnitch

    public class GoogleCloudSnitch
    extends AbstractNetworkTopologySnitch
    A snitch that assumes an GCE region is a DC and an GCE availability_zone is a rack. This information is available in the config for the node.
    • Field Detail

      • connector

        protected final org.apache.cassandra.locator.AbstractCloudMetadataServiceConnector connector
    • Constructor Detail

      • GoogleCloudSnitch

        public GoogleCloudSnitch()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • GoogleCloudSnitch

        public GoogleCloudSnitch​(SnitchProperties properties)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • GoogleCloudSnitch

        public GoogleCloudSnitch​(org.apache.cassandra.locator.AbstractCloudMetadataServiceConnector connector)
                          throws java.io.IOException
        Throws:
        java.io.IOException