Class OracleTaskRepository
java.lang.Object
no.skatteetaten.fastsetting.formueinntekt.felles.task.jdbc.JdbcTaskRepository
no.skatteetaten.fastsetting.formueinntekt.felles.task.jdbc.OracleTaskRepository
- All Implemented Interfaces:
TaskRepository<Connection,,SQLException> TaskReviver<Connection,,SQLException> TaskSink<Connection,,SQLException> TaskSource<Connection,SQLException>
-
Nested Class Summary
Nested classes/interfaces inherited from class no.skatteetaten.fastsetting.formueinntekt.felles.task.jdbc.JdbcTaskRepository
JdbcTaskRepository.WithIntervalMultiplicationNested classes/interfaces inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.task.api.TaskRepository
TaskRepository.Counting, TaskRepository.Direction, TaskRepository.Listing, TaskRepository.SnapshotNested classes/interfaces inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.task.api.TaskReviver
TaskReviver.Revived, TaskReviver.RevivificationNested classes/interfaces inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.task.api.TaskSink
TaskSink.Insertion -
Field Summary
Fields inherited from class no.skatteetaten.fastsetting.formueinntekt.felles.task.jdbc.JdbcTaskRepository
CHANGE_LOG, concurrent, ownerFields inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.task.api.TaskRepository
INCEPTION -
Constructor Summary
ConstructorsConstructorDescriptionOracleTaskRepository(boolean concurrent, String owner) OracleTaskRepository(boolean concurrent, String owner, int lockSize, int bulkSize, boolean hint) -
Method Summary
Modifier and TypeMethodDescription(package private) voiddoFilter(Connection conn, String topic, Collection<String> identifiers, long sequence) doPoll(Connection conn, String topic, TaskState state, long from, long to, int size) (package private) longdoPurge(Connection conn, String topic, long from, long to, TaskState lower, TaskState upper) voidexpire(Connection conn, long timeout, TimeUnit unit) (package private) StringgetCountingHint(boolean identified) voidheartbeat(Connection conn) booleaninitialize(Connection conn, String topic) voidpurgeAll(Connection conn, String topic) push(Connection conn, String topic, TaskSink.Insertion insertion, Collection<TaskCreation> creations) voidrefresh(Connection conn) Methods inherited from class no.skatteetaten.fastsetting.formueinntekt.felles.task.jdbc.JdbcTaskRepository
complete, count, doComplete, doRecreate, doReset, doTranscribe, getOwner, isConcurrent, owners, page, page, poll, purge, purge, purgeOwners, reassign, recreate, recreate, register, resolveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.task.api.TaskRepository
count, count, count, page, page, purge, purge, reassign, recreate, resolve, taskMethods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.task.api.TaskReviver
recreate, recreateMethods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.task.api.TaskSink
push, push, push, pushMethods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.task.api.TaskSource
complete, poll
-
Constructor Details
-
OracleTaskRepository
-
OracleTaskRepository
public OracleTaskRepository(boolean concurrent, String owner, int lockSize, int bulkSize, boolean hint)
-
-
Method Details
-
heartbeat
- Specified by:
heartbeatin interfaceTaskRepository<Connection,SQLException> - Overrides:
heartbeatin classJdbcTaskRepository- Throws:
SQLException
-
expire
- Specified by:
expirein interfaceTaskRepository<Connection,SQLException> - Overrides:
expirein classJdbcTaskRepository- Throws:
SQLException
-
initialize
- Specified by:
initializein interfaceTaskRepository<Connection,SQLException> - Overrides:
initializein classJdbcTaskRepository- Throws:
SQLException
-
refresh
- Throws:
SQLException
-
push
public List<Task> push(Connection conn, String topic, TaskSink.Insertion insertion, Collection<TaskCreation> creations) throws SQLException - Specified by:
pushin interfaceTaskSink<Connection,SQLException> - Overrides:
pushin classJdbcTaskRepository- Throws:
SQLException
-
doFilter
void doFilter(Connection conn, String topic, Collection<String> identifiers, long sequence) throws SQLException - Overrides:
doFilterin classJdbcTaskRepository- Throws:
SQLException
-
doPoll
Set<Task> doPoll(Connection conn, String topic, TaskState state, long from, long to, int size) throws SQLException - Overrides:
doPollin classJdbcTaskRepository- Throws:
SQLException
-
purgeAll
- Specified by:
purgeAllin interfaceTaskRepository<Connection,SQLException> - Overrides:
purgeAllin classJdbcTaskRepository- Throws:
SQLException
-
doPurge
long doPurge(Connection conn, String topic, long from, long to, TaskState lower, TaskState upper) throws SQLException - Overrides:
doPurgein classJdbcTaskRepository- Throws:
SQLException
-
getCountingHint
- Overrides:
getCountingHintin classJdbcTaskRepository
-