|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.emarsys.ecommon.util.Identify
public class Identify
Creationdate: Apr 24, 2007
Constructor Summary | |
---|---|
Identify()
|
Method Summary | |
---|---|
static java.lang.String |
host()
|
static int |
uid()
|
static long |
uniqueTimestamp()
Synchronized method to get a unique timestamp. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Identify()
Method Detail |
---|
public static long uniqueTimestamp()
System.currentTimeMillis()
will return a new value.
(the machine has has switched to the next timeslot ... )
System.currentTimeMillis()
public static int uid()
public static java.lang.String host()
InetAddress.getLocalHost()
throws an UnknownHostException
the string App#UNKNOWN
is returned. (this will depend on security-checks)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |