public class LicenseUtil
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LICENSE_REPOSITORY_DIR |
static String |
LICENSE_SERVER_URL |
Constructor and Description |
---|
LicenseUtil() |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
getClusterServerInfo(String clusterNodeId) |
static Set<String> |
getIpAddresses() |
static Set<String> |
getMacAddresses() |
static int |
getProcessorCores() |
static byte[] |
getServerIdBytes() |
static Map<String,String> |
getServerInfo() |
static void |
registerOrder(javax.servlet.http.HttpServletRequest httpServletRequest) |
static Map<String,Object> |
registerOrder(String orderUuid,
String productEntryName,
int maxServers) |
static String |
sendRequest(String request) |
static void |
writeServerProperties(byte[] serverIdBytes) |
public static final String LICENSE_REPOSITORY_DIR
public static final String LICENSE_SERVER_URL
public static Map<String,String> getClusterServerInfo(String clusterNodeId) throws Exception
Exception
public static Set<String> getIpAddresses()
public static Set<String> getMacAddresses()
public static int getProcessorCores()
public static byte[] getServerIdBytes() throws Exception
Exception
public static Map<String,String> getServerInfo()
public static void registerOrder(javax.servlet.http.HttpServletRequest httpServletRequest)
public static Map<String,Object> registerOrder(String orderUuid, String productEntryName, int maxServers)
public static String sendRequest(String request) throws Exception
Exception
public static void writeServerProperties(byte[] serverIdBytes) throws Exception
Exception