Class RpcServiceUtils


  • public class RpcServiceUtils
    extends Object
    These RPC utilities contain helper methods around RPC use.
    • Constructor Detail

      • RpcServiceUtils

        public RpcServiceUtils()
    • Method Detail

      • createRandomName

        public static String createRandomName​(String prefix)
        Creates a random name of the form prefix_X, where X is an increasing number.
        Parameters:
        prefix - Prefix string to prepend to the monotonically increasing name offset number
        Returns:
        A random name of the form prefix_X where X is an increasing number
      • createWildcardName

        public static String createWildcardName​(String prefix)
        Creates a wildcard name symmetric to createRandomName(String).
        Parameters:
        prefix - prefix of the wildcard name
        Returns:
        wildcard name starting with the prefix