Class TableInputFormatBase.TopologyLocatorWrapper

  • Enclosing class:
    TableInputFormatBase<K,​V>

    public static class TableInputFormatBase.TopologyLocatorWrapper
    extends Object
    Special class that wraps the static get method of the TopologyLocator utility. Since static methods are difficult to mock, this class is provided as a convenience; to allow tests to mock the behavior of the static methods of the TopologyLocator class. It is defined with public scope so that the tests from the Hive package can also use this wrapper class.
    • Constructor Detail

      • TopologyLocatorWrapper

        public TopologyLocatorWrapper()
    • Method Detail

      • get

        public oracle.kv.impl.topo.Topology get​(String[] registryHostPorts,
                                                int maxRNs,
                                                oracle.kv.impl.security.login.LoginManager loginMgr,
                                                String expectedStoreName,
                                                oracle.kv.impl.api.ClientId clientId)
                                         throws KVStoreException
        Throws:
        KVStoreException