org.planx.xmlstore.regions
Class Sharer
java.lang.Object
org.planx.xmlstore.regions.Sharer
- Direct Known Subclasses:
- HashSharer, MSDSharer
public abstract class Sharer
- extends Object
|
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 |
manager
protected RegionManager manager
timer
protected Timer timer
bgTask
protected TimerTask bgTask
isDiscriminated
protected boolean isDiscriminated
isIterated
protected boolean isIterated
invocations
protected int invocations
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.