| Constructor and Description |
|---|
HarvestStartedEvent(String harvesterHash,
int maxHarvestableDocuments)
Constructor that sets up the payload, and uses the current time as the start timestamp.
|
HarvestStartedEvent(String harvesterHash,
int maxHarvestableDocuments,
long startTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getHarvesterHash()
Returns the version hash of the harvested documents.
|
int |
getMaxHarvestableDocuments()
Returns the maximum number of harvestable documents.
|
long |
getStartTimestamp()
Returns the unix timestamp at which the event was created.
|
int |
hashCode() |
String |
toString() |
public HarvestStartedEvent(String harvesterHash, int maxHarvestableDocuments)
harvesterHash - a hash value representing the current state of the source datamaxHarvestableDocuments - the maximum number of expected documentspublic HarvestStartedEvent(String harvesterHash, int maxHarvestableDocuments, long startTimestamp)
public String getHarvesterHash()
public int getMaxHarvestableDocuments()
public long getStartTimestamp()
Copyright © 2017–2019. All rights reserved.