Class DefaultSchedulerStateGateway
java.lang.Object
de.hybris.platform.task.impl.gateways.DefaultBaseGateway
de.hybris.platform.task.impl.gateways.DefaultSchedulerStateGateway
- All Implemented Interfaces:
BaseGateway,SchedulerStateGateway
- Direct Known Subclasses:
HanaSchedulerStateGateway,HsqldbSchedulerStateGateway,MsSqlSchedulerStateGateway,MySqlSchedulerStateGateway,OracleSchedulerStateGateway,PostgresSchedulerStateGateway
public class DefaultSchedulerStateGateway
extends DefaultBaseGateway
implements SchedulerStateGateway
-
Field Summary
Fields inherited from class de.hybris.platform.task.impl.gateways.DefaultBaseGateway
jdbcTemplate -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSchedulerStateGateway(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe method will remove a row in auxiliary scheduler tableprotected Stringprotected Stringprotected Stringprotected StringbooleaninsertSchedulerRow(Instant now, int version) booleanupdateSchedulerRow(Duration duration) booleanupdateSchedulerRow(Instant now, Instant oldTimestamp) Methods inherited from class de.hybris.platform.task.impl.gateways.DefaultBaseGateway
createTable, doesTableExist, dropTable, getJdbcTemplate, tryCreatingTableAndLogExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.task.impl.gateways.BaseGateway
createTable, doesTableExist, dropTableMethods inherited from interface de.hybris.platform.task.impl.gateways.SchedulerStateGateway
insertSchedulerRow
-
Constructor Details
-
DefaultSchedulerStateGateway
public DefaultSchedulerStateGateway(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
-
Method Details
-
getTableName
- Specified by:
getTableNamein interfaceBaseGateway
-
insertSchedulerRow
- Specified by:
insertSchedulerRowin interfaceSchedulerStateGateway- Parameters:
now- this param is deprecated and will be ignored, seeSchedulerStateGateway.insertSchedulerRow(int)
-
getInsertSchedulerRowStatement
-
updateSchedulerRow
- Specified by:
updateSchedulerRowin interfaceSchedulerStateGateway
-
updateSchedulerRow
- Specified by:
updateSchedulerRowin interfaceSchedulerStateGateway
-
deleteSchedulerRow
public boolean deleteSchedulerRow()Description copied from interface:SchedulerStateGatewayThe method will remove a row in auxiliary scheduler table- Specified by:
deleteSchedulerRowin interfaceSchedulerStateGateway- Returns:
trueif row has been removed,falseotherwise
-
getUpdateSchedulerRowByDurationStatement
-
getSchedulerTimestamp
- Specified by:
getSchedulerTimestampin interfaceSchedulerStateGateway
-
getCreateTableStatement
- Specified by:
getCreateTableStatementin classDefaultBaseGateway
-
getSelectSchedulerTimestampQuery
-