com.lmax.disruptor
Interface LifecycleAware


public interface LifecycleAware

Implement this interface to be notified when a thread for the BatchConsumer starts and shuts down.


Method Summary
 void onShutdown()
          Called once just before the thread is shutdown.
 void onStart()
          Called once on thread start before first entry is available.
 

Method Detail

onStart

void onStart()
Called once on thread start before first entry is available.


onShutdown

void onShutdown()
Called once just before the thread is shutdown.



Copyright © 2011 LMAX Ltd. All Rights Reserved.