public class Utils extends Object
| 构造器和说明 |
|---|
Utils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
currentTimeInSeconds()
Get the current timestamp in seconds.
|
static String |
getHostname() |
static String |
getNodeID() |
static String |
md5(String... inputs) |
static long |
now()
Get the current timestamp in millis.
|
static long |
round(long value,
int places) |
public static String getHostname()
public static String getNodeID()
public static long round(long value,
int places)
public static long now()
public static long currentTimeInSeconds()
Copyright © 2019. All rights reserved.