Class ObjectUnderFileSystem.OperationBuffer.OperationThread

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.util.List<T>>
    Enclosing class:
    ObjectUnderFileSystem.OperationBuffer<T>

    @NotThreadSafe
    protected class ObjectUnderFileSystem.OperationBuffer.OperationThread
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.util.List<T>>
    Thread class to operate on a batch of objects.
    • Constructor Summary

      Constructors 
      Constructor Description
      OperationThread​(java.util.List<T> batch)
      Operate on a batch of inputs.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<T> call()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OperationThread

        public OperationThread​(java.util.List<T> batch)
        Operate on a batch of inputs.
        Parameters:
        batch - a list of inputs for the current batch
    • Method Detail

      • call

        public java.util.List<T> call()
        Specified by:
        call in interface java.util.concurrent.Callable<java.util.List<T>>