Class MasterInquireClient.Factory

  • Enclosing interface:
    MasterInquireClient

    public static class MasterInquireClient.Factory
    extends java.lang.Object
    Factory for getting a master inquire client.
    • Method Detail

      • create

        public static MasterInquireClient create​(AlluxioConfiguration conf,
                                                 UserState userState)
        Parameters:
        conf - configuration for creating the master inquire client
        userState - the user state for the client
        Returns:
        a master inquire client
      • createForAddresses

        public static MasterInquireClient createForAddresses​(java.util.List<java.net.InetSocketAddress> addresses,
                                                             AlluxioConfiguration conf,
                                                             UserState userState)
        Parameters:
        addresses - the addresses to use for the client
        conf - configuration for creating the master inquire client
        userState - the user state for the client
        Returns:
        a master inquire client using the addresses given
      • createForJobMaster

        public static MasterInquireClient createForJobMaster​(AlluxioConfiguration conf,
                                                             UserState userState)
        Parameters:
        conf - configuration for creating the master inquire client
        userState - the user state for the client
        Returns:
        a master inquire client