public class CheckPoint extends Object
A simple POJO class containing the required information used in CHECKPOINTING... - application.checkpoint_interval is the time when the last execution succeeded for a given application.runtime.id - application.runtime.id should be a unique identifier for a given PUNCHLINE configuration file
Constructor and Description |
---|
CheckPoint(ISettingsMap map)
Use this constructor when you don't need any other information but wants to benefits using this POJO date parsing methods
|
CheckPoint(ISettingsMap map,
String applicationCheckPointIntervalFieldName)
Use this constructor when you don't need any other information but wants to benefits using this POJO date parsing methods
|
CheckPoint(String createdTimestampDate,
String applicationRuntimeId,
String applicationCheckPointInterval)
This constructor can be used when you want to commit/read the last_commited date to/from your BACKEND
|
CheckPoint(String createdTimestampDate,
String applicationRuntimeId,
String applicationCheckpointInterval,
Properties properties)
Use this constructor in case you want to add additional fields to be committed to your BACKEND using the properties parameter
|
CheckPoint(String createdTimestampDate,
String applicationRuntimIdFieldName,
String applicationRuntimeId,
String applicationCheckPointInterval)
This constructor can be used when you want to commit/read the last_commited date to/from your BACKEND with a custom id field name
|
Modifier and Type | Method and Description |
---|---|
ZonedDateTime |
applicationCheckPointInterval() |
String |
toString() |
public CheckPoint(String createdTimestampDate, String applicationRuntimeId, String applicationCheckPointInterval)
createdTimestampDate
- applicationRuntimeId
- applicationCheckPointInterval
- public CheckPoint(String createdTimestampDate, String applicationRuntimIdFieldName, String applicationRuntimeId, String applicationCheckPointInterval)
createdTimestampDate
- applicationRuntimIdFieldName
- applicationRuntimeId
- applicationCheckPointInterval
- public CheckPoint(String createdTimestampDate, String applicationRuntimeId, String applicationCheckpointInterval, Properties properties)
createdTimestampDate
- applicationRuntimeId
- applicationCheckpointInterval
- properties
- public CheckPoint(ISettingsMap map)
map
- public CheckPoint(ISettingsMap map, String applicationCheckPointIntervalFieldName)
map
- applicationCheckPointIntervalFieldName
- custom field name of where checkpoint interval is stored in ELASTICpublic ZonedDateTime applicationCheckPointInterval()
Copyright © 2014–2023. All rights reserved.