Class PostgreSqlJdbcCustomization
java.lang.Object
com.github.kagkarlsson.scheduler.jdbc.DefaultJdbcCustomization
com.github.kagkarlsson.scheduler.jdbc.PostgreSqlJdbcCustomization
- All Implemented Interfaces:
JdbcCustomization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getQueryLimitPart(int limit) lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit) booleanbooleanMethods inherited from class com.github.kagkarlsson.scheduler.jdbc.DefaultJdbcCustomization
getInstant, setInstant
-
Constructor Details
-
PostgreSqlJdbcCustomization
public PostgreSqlJdbcCustomization()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceJdbcCustomization- Overrides:
getNamein classDefaultJdbcCustomization
-
supportsExplicitQueryLimitPart
public boolean supportsExplicitQueryLimitPart()- Specified by:
supportsExplicitQueryLimitPartin interfaceJdbcCustomization- Overrides:
supportsExplicitQueryLimitPartin classDefaultJdbcCustomization
-
getQueryLimitPart
- 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
-