public class RpcServiceUtils extends Object
Constructor and Description |
---|
RpcServiceUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
createRandomName(String prefix)
Creates a random name of the form prefix_X, where X is an increasing number.
|
static String |
createWildcardName(String prefix)
Creates a wildcard name symmetric to
createRandomName(String) . |
public static String createRandomName(String prefix)
prefix
- Prefix string to prepend to the monotonically increasing name offset numberpublic static String createWildcardName(String prefix)
createRandomName(String)
.prefix
- prefix of the wildcard nameCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.