|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.thl.ConnectUriManager
public class ConnectUriManager
Implements a simple strategy class that hands out connection URIs and allows the caller to cycle through a list of them.
| Constructor Summary | |
|---|---|
ConnectUriManager(java.util.List<java.lang.String> connectUri)
Creates a new instance with a list of URIs. |
|
| Method Summary | |
|---|---|
long |
getIterations()
Returns the number of full iterations over the list of URIs. |
java.lang.String |
next()
Returns the next THL URI in the list. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectUriManager(java.util.List<java.lang.String> connectUri)
throws THLException
connectUri - List of one or more URIs
THLException - Thrown if array is 0 length| Method Detail |
|---|
public java.lang.String next()
public long getIterations()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||