|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurationProvider
| Method Summary | |
|---|---|
String |
getAnonymousAuthBucket()
Retrieves a default bucket name i.e. |
Bucket |
getBucketConfiguration(String bucketname)
Connects to the REST service and retrieves the bucket configuration from the first pool available |
void |
shutdown()
Shutdowns a monitor connections to the REST service |
void |
subscribe(String bucketName,
Reconfigurable rec)
Subscribes for configuration updates |
void |
unsubscribe(String vbucketName,
Reconfigurable rec)
Unsubscribe from updates on a given bucket and given reconfigurable |
| Method Detail |
|---|
Bucket getBucketConfiguration(String bucketname)
throws ConfigurationException
bucketname - bucketname
ConfigurationException
void subscribe(String bucketName,
Reconfigurable rec)
throws ConfigurationException
bucketName - bucket name to receive configuration forrec - reconfigurable that will receive updates
ConfigurationException
void unsubscribe(String vbucketName,
Reconfigurable rec)
vbucketName - bucket namerec - reconfigurablevoid shutdown()
String getAnonymousAuthBucket()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||