Class CopyCallable

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.String>

    public class CopyCallable
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.String>
    This task copies topic-word counts from a global array to a local thread-specific array.
    Author:
    David Mimno
    • Constructor Summary

      Constructors 
      Constructor Description
      CopyCallable​(WorkerCallable targetCallable, int[][] typeTopicCounts, int[] tokensPerTopic)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String call()  
      • Methods inherited from class java.lang.Object

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

      • CopyCallable

        public CopyCallable​(WorkerCallable targetCallable,
                            int[][] typeTopicCounts,
                            int[] tokensPerTopic)
    • Method Detail

      • call

        public java.lang.String call()
                              throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.String>
        Throws:
        java.lang.Exception