Class PurgeTransactionThread
- java.lang.Object
-
- fr.gouv.vitam.collect.internal.thread.PurgeTransactionThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class PurgeTransactionThread extends java.lang.Object implements java.lang.Runnable
-
-
Constructor Summary
Constructors Constructor Description PurgeTransactionThread(CollectInternalConfiguration collectInternalConfiguration, TransactionService transactionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteTransaction(java.lang.Integer tenantId, java.lang.Integer delay)
void
process()
void
run()
-
-
-
Constructor Detail
-
PurgeTransactionThread
public PurgeTransactionThread(CollectInternalConfiguration collectInternalConfiguration, TransactionService transactionService)
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
deleteTransaction
public void deleteTransaction(java.lang.Integer tenantId, java.lang.Integer delay) throws CollectInternalException, java.text.ParseException
- Throws:
CollectInternalException
java.text.ParseException
-
process
public void process() throws CollectInternalException
- Throws:
CollectInternalException
-
-