Class MergeCallable

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

    public class MergeCallable
    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
      MergeCallable​(WorkerCallable[] callables, int[][] typeTopicCounts, int numTypes, int numTopics, int threadID, int topicMask, int topicBits)  
    • 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

      • MergeCallable

        public MergeCallable​(WorkerCallable[] callables,
                             int[][] typeTopicCounts,
                             int numTypes,
                             int numTopics,
                             int threadID,
                             int topicMask,
                             int topicBits)
    • 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