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 |
---|---|
byte[] |
getTimestamp()
Returns timestamp.
|
public static final int TIMESTAMP_LENGTH
public byte[] getTimestamp()
TimestampProvider
Note: Timestamp should not contains space character.
getTimestamp
in interface TimestampProvider
Copyright © 2005–2024 Onix Solutions. All rights reserved.