org.planx.xmlstore.regions
Class Sharer

java.lang.Object
  extended by org.planx.xmlstore.regions.Sharer
Direct Known Subclasses:
HashSharer, MSDSharer

public abstract class Sharer
extends Object


Field Summary
protected  TimerTask bgTask
           
protected  int invocations
           
protected  boolean isDiscriminated
           
protected  boolean isIterated
           
protected  RegionManager manager
           
protected  Timer timer
           
 
Method Summary
 int invocations()
           
 boolean isDiscriminated()
           
 boolean isIterated()
           
abstract  void share()
           
 void start()
          Starts the Sharer background thread with the period between runs specified in the constructor.
 void stop()
          Stops the Sharer background thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected RegionManager manager

timer

protected Timer timer

bgTask

protected TimerTask bgTask

isDiscriminated

protected boolean isDiscriminated

isIterated

protected boolean isIterated

invocations

protected int invocations
Method Detail

start

public void start()
Starts the Sharer background thread with the period between runs specified in the constructor.


stop

public void stop()
Stops the Sharer background thread.


isDiscriminated

public boolean isDiscriminated()

isIterated

public boolean isIterated()

invocations

public int invocations()

share

public abstract void share()
                    throws IOException,
                           UnknownReferenceException
Throws:
IOException
UnknownReferenceException


Copyright © 2010. All Rights Reserved.