public class HdfsPartitionDataStoreMessageHandler extends HdfsStoreMessageHandler
MessageHandler handling Message writing into hdfs using PartitionDataStoreWriter.| Constructor and Description |
|---|
HdfsPartitionDataStoreMessageHandler(org.springframework.data.hadoop.store.PartitionDataStoreWriter<java.lang.String,org.springframework.messaging.Message<?>> storePartitionWriter)
Instantiates a new hdfs partition data store message handler.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStop()
Subclasses may override this method with the stop behaviour.
|
protected void |
doWrite(org.springframework.messaging.Message<?> message)
Subclasses need to implement this method to handle
Message in its writer. |
protected void |
onInit() |
doStart, getPhase, handleMessageInternal, isAutoStartup, isRunning, setAutoStartup, setPhase, start, stop, stopconfigureMetrics, getActiveCount, getActiveCountLong, getComponentType, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabledafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toStringpublic HdfsPartitionDataStoreMessageHandler(org.springframework.data.hadoop.store.PartitionDataStoreWriter<java.lang.String,org.springframework.messaging.Message<?>> storePartitionWriter)
storePartitionWriter - the store partition writerprotected void onInit()
throws java.lang.Exception
onInit in class org.springframework.integration.handler.AbstractMessageHandlerjava.lang.Exceptionprotected void doStop()
HdfsStoreMessageHandlerHdfsStoreMessageHandler.lifecycleLock.doStop in class HdfsStoreMessageHandlerprotected void doWrite(org.springframework.messaging.Message<?> message)
throws java.lang.Exception
HdfsStoreMessageHandlerMessage in its writer.doWrite in class HdfsStoreMessageHandlermessage - the message to writejava.lang.Exception