Class DaVinciBlobFinder

  • All Implemented Interfaces:
    BlobFinder, java.lang.AutoCloseable

    public class DaVinciBlobFinder
    extends java.lang.Object
    implements BlobFinder
    DvcBlobFinder discovers live DaVinci peer nodes to facilitate blob transfers necessary for bootstrapping the database
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      BlobPeersDiscoveryResponse discoverBlobPeers​(java.lang.String storeName, int version, int partition)
      This method will look through the partitions for the store and version provided until it finds the partition requested, it will then return the URL of the instances that are ready to serve in the partition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • discoverBlobPeers

        public BlobPeersDiscoveryResponse discoverBlobPeers​(java.lang.String storeName,
                                                            int version,
                                                            int partition)
        Description copied from interface: BlobFinder
        This method will look through the partitions for the store and version provided until it finds the partition requested, it will then return the URL of the instances that are ready to serve in the partition.
        Specified by:
        discoverBlobPeers in interface BlobFinder
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException