Package com.yahoo.io

Interface SelectLoopHook


  • public interface SelectLoopHook
    This interface defines a callback hook which applications can use to get work done before or after the select loop finishes its tasks.
    Author:
    Bjorn Borud
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void selectLoopHook​(boolean before)
      Callback which can be called before or after select loop has done its work, depending on how you register the hook.
    • Method Detail

      • selectLoopHook

        void selectLoopHook​(boolean before)
        Callback which can be called before or after select loop has done its work, depending on how you register the hook.
        Parameters:
        before - is true if the hook was called before the channels in the ready set have been processed, and false if called after.