@ThreadSafe public class TimeBasedSessionIdFactory extends java.lang.Object implements SessionIdFactory
SessionIdFactory
, which
assigns numeric identifiers based on the current milliseconds time, amending
it as necessary to make it unique.Constructor and Description |
---|
TimeBasedSessionIdFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create()
Returns a new identifier.
|
public java.lang.String create()
SessionIdFactory
create
in interface SessionIdFactory
Copyright © 2006–2018. All rights reserved.