cacheOverflow
Class Worker

java.lang.Object
  extended by cacheOverflow.Worker
All Implemented Interfaces:
Runnable

public class Worker
extends Object
implements Runnable

A worker thread that places a given number of 8K chunks of data (long arrays) into a GemFire region.

Since:
3.2
Author:
GemStone Systems, Inc.

Constructor Summary
Worker(int id, Region region, long arrayCount, boolean validate)
          Creates a new Worker with the given id that places a given number of 8K chunks of data in the given region.
 
Method Summary
 void run()
          Places a 8K arrays of long into a GemFire cache region and updates statistics accordingly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Worker

Worker(int id,
       Region region,
       long arrayCount,
       boolean validate)
Creates a new Worker with the given id that places a given number of 8K chunks of data in the given region.

Parameters:
validate - Do we validate the contents of the region instead of populating it?
Method Detail

run

public void run()
Places a 8K arrays of long into a GemFire cache region and updates statistics accordingly.

Specified by:
run in interface Runnable


Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.