Class PostgreSqlJdbcCustomization
- java.lang.Object
-
- com.github.kagkarlsson.scheduler.jdbc.DefaultJdbcCustomization
-
- com.github.kagkarlsson.scheduler.jdbc.PostgreSqlJdbcCustomization
-
- All Implemented Interfaces:
JdbcCustomization
public class PostgreSqlJdbcCustomization extends DefaultJdbcCustomization
-
-
Constructor Summary
Constructors Constructor Description PostgreSqlJdbcCustomization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringgetQueryLimitPart(int limit)List<Execution>lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit)booleansupportsExplicitQueryLimitPart()booleansupportsLockAndFetch()-
Methods inherited from class com.github.kagkarlsson.scheduler.jdbc.DefaultJdbcCustomization
getInstant, getTaskData, setInstant, setTaskData
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceJdbcCustomization- Overrides:
getNamein classDefaultJdbcCustomization
-
supportsExplicitQueryLimitPart
public boolean supportsExplicitQueryLimitPart()
- Specified by:
supportsExplicitQueryLimitPartin interfaceJdbcCustomization- Overrides:
supportsExplicitQueryLimitPartin classDefaultJdbcCustomization
-
getQueryLimitPart
public String getQueryLimitPart(int limit)
- Specified by:
getQueryLimitPartin interfaceJdbcCustomization- Overrides:
getQueryLimitPartin classDefaultJdbcCustomization
-
supportsLockAndFetch
public boolean supportsLockAndFetch()
- Specified by:
supportsLockAndFetchin interfaceJdbcCustomization- Overrides:
supportsLockAndFetchin classDefaultJdbcCustomization
-
lockAndFetch
public List<Execution> lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit)
- Specified by:
lockAndFetchin interfaceJdbcCustomization- Overrides:
lockAndFetchin classDefaultJdbcCustomization
-
-