Class SchedulerState
- java.lang.Object
-
- de.hybris.platform.task.impl.gateways.SchedulerState
-
public class SchedulerState extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SchedulerState(java.time.Instant lastActiveTs, java.time.Instant dbNow, int version)SchedulerState(java.util.Date lastActiveTs, int version)Deprecated, for removal: This API element is subject to removal in a future version.since 2105, useSchedulerState(Instant, Instant, int)instead
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.time.InstantgetDbNow()java.time.InstantgetLastActiveTs()java.util.DategetTimestamp()Deprecated, for removal: This API element is subject to removal in a future version.since 2105, usegetLastActiveTs()insteadintgetVersion()
-
-
-
Constructor Detail
-
SchedulerState
public SchedulerState(java.time.Instant lastActiveTs, java.time.Instant dbNow, int version)
-
SchedulerState
@Deprecated(since="2105", forRemoval=true) public SchedulerState(java.util.Date lastActiveTs, int version)Deprecated, for removal: This API element is subject to removal in a future version.since 2105, useSchedulerState(Instant, Instant, int)instead
-
-
Method Detail
-
getVersion
public int getVersion()
-
getTimestamp
@Deprecated(since="2105", forRemoval=true) public java.util.Date getTimestamp()Deprecated, for removal: This API element is subject to removal in a future version.since 2105, usegetLastActiveTs()instead
-
getLastActiveTs
public java.time.Instant getLastActiveTs()
-
getDbNow
public java.time.Instant getDbNow()
-
-