Class ProcessStateHolder
java.lang.Object
com.broadleafcommerce.datafeed.service.collector.ProcessStateHolder
Thread-safe mechanism for maintaining basic state across a multithreaded data collection process.
- Author:
- Kelly Tisdell (ktisdell)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addErrorMessage
(String error) void
failFast()
void
void
int
void
void
incrementRecordCount
(int count) boolean
isFailed()
-
Constructor Details
-
ProcessStateHolder
public ProcessStateHolder()
-
-
Method Details
-
incrementRecordCount
public void incrementRecordCount() -
incrementRecordCount
public void incrementRecordCount(int count) -
getRecordCount
public int getRecordCount() -
isFailed
public boolean isFailed() -
failFast
public void failFast() -
failFast
-
failFast
-
getAdditionalAttributes
-
addErrorMessage
-
getErrorMessages
-