|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRepositoryConnection
An instance of this interface represents a paper object that describes a repository connection. This is the paper object meant for editing and manipulation.
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
| Method Summary | |
|---|---|
void |
addThrottleValue(java.lang.String match,
java.lang.String description,
float throttle)
Add a throttle value. |
void |
clearThrottleValues()
Clear all throttle values. |
void |
deleteThrottleValue(java.lang.String match)
Delete a throttle. |
java.lang.String |
getACLAuthority()
Get the ACL authority name. |
java.lang.String |
getClassName()
Get the class name. |
ConfigParams |
getConfigParams()
Get the configuration parameters. |
java.lang.String |
getDescription()
Get description. |
boolean |
getIsNew()
Get 'isnew' condition. |
int |
getMaxConnections()
Get the maximum size of the connection pool. |
java.lang.String |
getName()
Get name. |
java.lang.Float |
getThrottle()
Get the maximum number of document fetches per millisecond, for all bins (.*). |
java.lang.String |
getThrottleDescription(java.lang.String match)
Get the description for a throttle. |
java.lang.String[] |
getThrottles()
Get throttles. |
float |
getThrottleValue(java.lang.String match)
Get the throttle value for a throttle. |
void |
setACLAuthority(java.lang.String authorityName)
Set the ACL authority name. |
void |
setClassName(java.lang.String className)
Set the class name. |
void |
setDescription(java.lang.String description)
Set description. |
void |
setIsNew(boolean isnew)
Set 'isnew' condition. |
void |
setMaxConnections(int maxCount)
Set the maximum size of the connection pool. |
void |
setName(java.lang.String name)
Set name. |
void |
setThrottle(java.lang.Float rate)
Set the maximum number of document fetches per millisecond, for all bins (.*). |
| Field Detail |
|---|
static final java.lang.String _rcsid
| Method Detail |
|---|
void setIsNew(boolean isnew)
isnew - true if this is a new instance.boolean getIsNew()
void setName(java.lang.String name)
name - is the name.java.lang.String getName()
void setDescription(java.lang.String description)
description - is the description.java.lang.String getDescription()
void setClassName(java.lang.String className)
className - is the class name.java.lang.String getClassName()
ConfigParams getConfigParams()
void setACLAuthority(java.lang.String authorityName)
authorityName - is the ACL authority name.java.lang.String getACLAuthority()
void setMaxConnections(int maxCount)
maxCount - is the maximum connection count per JVM.int getMaxConnections()
void clearThrottleValues()
void addThrottleValue(java.lang.String match,
java.lang.String description,
float throttle)
description - is the throttle description.match - is the regexp to be applied to the bin names.throttle - is the fetch rate to use, in fetches per millisecond.void deleteThrottleValue(java.lang.String match)
match - is the regexp describing the throttle to be removed.java.lang.String[] getThrottles()
java.lang.String getThrottleDescription(java.lang.String match)
match - describes the throttle.
float getThrottleValue(java.lang.String match)
match - describes the throttle.
void setThrottle(java.lang.Float rate)
rate - is the rate, in fetches/millisecond.java.lang.Float getThrottle()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||