Examples of SuperProgressTask


Examples of com.slytechs.utils.event.SuperProgressTask

   * @param target
   * @throws IOException
   */
  public SoftRegionIndexer(final PartialLoader loader) throws IOException {

    task = new SuperProgressTask("indexer");
    scanTask = task.addTask("scan file for records", loader.getLength());

    this.loader = loader;

    this.calculateFactor(loader);
View Full Code Here

Examples of com.slytechs.utils.event.SuperProgressTask

   *      long)
   */
  public Object keepInMemory(long start, long count) throws IOException {
    count = (start + count <= this.length ? count : this.length - start);
   
    task = new SuperProgressTask("indexer");

    final int first = (this.factor == 0 ? 0 : (int) start / this.factor);
    final int end =
        (this.factor == 0 ? 1 : (int) (start + count) / this.factor) + 1;

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.