|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.gcube.data.harmonization.occurrence.queue.QueueReceiver
org.gcube.data.harmonization.occurrence.operating.ImportHandler
public class ImportHandler
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class org.gcube.data.harmonization.occurrence.queue.QueueReceiver |
|---|
continueListening, currentMessage, errorCount, readCount |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ImportHandler()
|
|
| Method Summary | |
|---|---|
void |
cleanup()
|
void |
handleMessage()
|
void |
rollback()
|
| Methods inherited from class org.gcube.data.harmonization.occurrence.queue.QueueReceiver |
|---|
bind, getComputedCount, getExchangeName, run, stopListening |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImportHandler()
| Method Detail |
|---|
public void handleMessage()
throws Exception
handleMessage in class QueueReceiverException
public void rollback()
throws Exception
rollback in class QueueReceiverExceptionpublic void cleanup()
cleanup in class QueueReceiver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||