クラス FileTailingMessageProducerSupport
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.MessageProducerSupport
org.springframework.integration.file.tail.FileTailingMessageProducerSupport
- 実装されているすべてのインターフェース:
Aware、BeanFactoryAware、BeanNameAware、DisposableBean、InitializingBean、SmartInitializingSingleton、ApplicationContextAware、ApplicationEventPublisherAware、Lifecycle、Phased、SmartLifecycle、ComponentSourceAware、ExpressionCapable、MessageProducer、IntegrationPattern、NamedComponent、IntegrationInboundManagement、IntegrationManagement、ManageableLifecycle、ManageableSmartLifecycle、TrackableComponent
public abstract class FileTailingMessageProducerSupport
extends MessageProducerSupport
implements ApplicationEventPublisherAware
ファイルテーリング受信アダプターの基本クラス。
- 導入:
- 3.0
- 作成者:
- Gary Russell, Artem Bilan, Ali Shahbour, Vladimir Plizga
ネストされたクラスの要約
ネストされたクラス修飾子と型クラス説明static classstatic classインターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverridesフィールドのサマリー
フィールドクラス org.springframework.integration.endpoint.AbstractEndpoint から継承されたフィールド
lifecycleLockクラス org.springframework.integration.context.IntegrationObjectSupport から継承されたフィールド
EXPRESSION_PARSER, loggerインターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected voiddoStart()デフォルトでは何もしません。protected voiddoStop()デフォルトでは何もしません。protected FileSEgetFile()protected longprotected TaskExecutorprotected voidprotected voidvoidsetApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) void末尾にしたいファイルの名前。voidsetIdleEventInterval(long idleEventInterval) FileTailingMessageProducerSupport.FileTailingIdleEventをミリ秒単位で発行する頻度。voidsetTailAttemptsDelay(long tailAttemptsDelay) 存在しないファイルをテールする試行間の、または何らかの理由で失敗した場合のプロセスの実行試行間のミリ秒単位の遅延。voidsetTaskExecutor(TaskExecutor taskExecutor) タスクエグゼキュータ。デフォルトはSimpleAsyncTaskExecutorです。クラス org.springframework.integration.endpoint.MessageProducerSupport から継承されたメソッド
afterSingletonsInstantiated, buildErrorMessage, getErrorChannel, getErrorMessageAttributes, getErrorMessageStrategy, getIntegrationPatternType, getMessagingTemplate, getOutputChannel, getRequiredOutputChannel, isObserved, onInit, registerObservationRegistry, sendErrorMessageIfNecessary, sendMessage, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setObservationConvention, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrack, subscribeToPublisherクラス org.springframework.integration.endpoint.AbstractEndpoint から継承されたメソッド
destroy, doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stopクラス org.springframework.integration.context.IntegrationObjectSupport から継承されたメソッド
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド
destroy, getManagedName, getManagedType, getOverrides, getThisAs, isLoggingEnabled, registerMetricsCaptor, setLoggingEnabled, setManagedName, setManagedTypeインターフェース org.springframework.integration.support.context.NamedComponent から継承されたメソッド
getBeanName, getComponentNameインターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isPauseable
フィールドの詳細
DEFAULT_TAIL_ATTEMPTS_DELAY
public static final long DEFAULT_TAIL_ATTEMPTS_DELAYテール試行間のデフォルトの遅延(ミリ秒単位)。- 関連事項:
コンストラクターの詳細
FileTailingMessageProducerSupport
public FileTailingMessageProducerSupport()
メソッドの詳細
setApplicationEventPublisher
- 次で指定:
- インターフェース
ApplicationEventPublisherAwareのsetApplicationEventPublisher
setFile
getFile
setTaskExecutor
タスクエグゼキュータ。デフォルトはSimpleAsyncTaskExecutorです。- パラメーター:
taskExecutor- タスク実行者。
setTailAttemptsDelay
public void setTailAttemptsDelay(long tailAttemptsDelay) 存在しないファイルをテールする試行間の、または何らかの理由で失敗した場合のプロセスの実行試行間のミリ秒単位の遅延。- パラメーター:
tailAttemptsDelay- 遅延。
setIdleEventInterval
public void setIdleEventInterval(long idleEventInterval) FileTailingMessageProducerSupport.FileTailingIdleEventをミリ秒単位で発行する頻度。- パラメーター:
idleEventInterval- 間隔。- 導入:
- 5.0
getMissingFileDelay
protected long getMissingFileDelay()getTaskExecutor
getComponentType
- 次で指定:
- インターフェース
NamedComponentのgetComponentType - オーバーライド:
- クラス
MessageProducerSupportのgetComponentType
send
publish
doStart
protected void doStart()クラスからコピーされた説明:MessageProducerSupportデフォルトでは何も実行されません。ライフサイクル管理された動作が必要な場合、サブクラスはこれをオーバーライドできます。'lifecycleLock' によって保護されています。- オーバーライド:
- クラス
MessageProducerSupportのdoStart
doStop
protected void doStop()クラスからコピーされた説明:MessageProducerSupportデフォルトでは何もしません。サブクラスは、ライフサイクル管理の動作が必要な場合、これをオーバーライドできます。- オーバーライド:
- クラス
MessageProducerSupportのdoStop