public class TimestampMillisProvider extends Object implements TimestampProvider
final TimestampProvider timestampProvider = new TimestampMillisProvider();
session.setTimestampProvider(timestampProvider);
| Modifier and Type | Field and Description |
|---|---|
static int |
TIMESTAMP_LENGTH |
| Constructor and Description |
|---|
TimestampMillisProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getTimestamp()
Returns timestamp.
|
byte[] |
getTimestampBytes()
Returns timestamp.
|
public static final int TIMESTAMP_LENGTH
public byte[] getTimestampBytes()
TimestampProviderNote: Timestamp should not contains space character.
getTimestampBytes in interface TimestampProviderpublic long getTimestamp()
TimestampProvidergetTimestamp in interface TimestampProviderCopyright © 2005–2025 Onix Solutions. All rights reserved.