|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Replica Location Index, which allows you to final
EdgLocalReplicaCatalog
s which contain mappings for the given
guid
s.
Method Summary | |
boolean |
exists(java.lang.String guid)
Does this RLI know about a given guid. |
boolean |
existsAt(java.lang.String lrc,
java.lang.String guid)
Does this RLI have information about a given LRC containing a mapping for a given guid. |
java.lang.String |
getInterfaceVersion()
|
java.lang.String[] |
getLRC(java.lang.String guid)
Given an guid, return the list of LRCs which contains a mapping for the guid. |
java.lang.String |
getVersion()
|
java.lang.String[] |
lrcList()
Return the list of LRCs which publish to this RLI |
java.lang.String |
ping()
Is the server alive. |
boolean |
remove(java.lang.String lrcEndpoint)
remove the filter associated with a given endpoint |
void |
update(java.lang.String lrcEndpoint,
long expiration,
byte[] bits,
int entries,
int numBits,
int optimalNumKeys,
int numHashes)
update the information we have for an LRC with a new set of information. |
Method Detail |
public java.lang.String[] getLRC(java.lang.String guid)
guid
- the guid
public java.lang.String[] lrcList()
public boolean exists(java.lang.String guid)
guid
- the guid
true
if it does.public boolean existsAt(java.lang.String lrc, java.lang.String guid)
lrc
- the lrcguid
- the guid
true
if it does.public void update(java.lang.String lrcEndpoint, long expiration, byte[] bits, int entries, int numBits, int optimalNumKeys, int numHashes)
lrcEndpoint
- The URL of the endpoint of the lrc.expiration
- the time in millis when this filter should expirebits
- entries
- numBits
- optimalNumKeys
- numHashes
- public boolean remove(java.lang.String lrcEndpoint)
lrcEndpoint
- the endpoint to remove
true
if the endpoint existed in the RLIpublic java.lang.String ping()
OK
else it will start with
FAIL
.
public java.lang.String getVersion()
public java.lang.String getInterfaceVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |