|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.manifoldcf.crawler.connectors.webcrawler.ThrottleDescription.ThrottleItem
protected static class ThrottleDescription.ThrottleItem
Class representing an individual throttle item.
| Field Summary | |
|---|---|
protected java.lang.Integer |
maxOpenConnections
The maximum open connections, or null if no limit. |
protected java.lang.Double |
minimumMillisecondsPerByte
The minimum milliseconds between bytes, or null if no limit. |
protected java.lang.Long |
minimumMillisecondsPerFetch
The minimum milliseconds per fetch, or null if no limit |
protected java.util.regex.Pattern |
pattern
The bin-matching pattern. |
| Constructor Summary | |
|---|---|
ThrottleDescription.ThrottleItem(java.util.regex.Pattern p)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Integer |
getMaxOpenConnections()
Get maximum open connections. |
java.lang.Double |
getMinimumMillisecondsPerByte()
Get minimum milliseconds per byte. |
java.lang.Long |
getMinimumMillisecondsPerFetch()
Get minimum milliseconds per fetch |
java.util.regex.Pattern |
getPattern()
Get the pattern. |
void |
setMaxOpenConnections(java.lang.Integer value)
Set maximum open connections. |
void |
setMinimumMillisecondsPerByte(java.lang.Double value)
Set minimum milliseconds per byte. |
void |
setMinimumMillisecondsPerFetch(java.lang.Long value)
Set minimum milliseconds per fetch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.regex.Pattern pattern
protected java.lang.Double minimumMillisecondsPerByte
protected java.lang.Long minimumMillisecondsPerFetch
protected java.lang.Integer maxOpenConnections
| Constructor Detail |
|---|
public ThrottleDescription.ThrottleItem(java.util.regex.Pattern p)
| Method Detail |
|---|
public java.util.regex.Pattern getPattern()
public void setMinimumMillisecondsPerByte(java.lang.Double value)
public java.lang.Double getMinimumMillisecondsPerByte()
public void setMinimumMillisecondsPerFetch(java.lang.Long value)
public java.lang.Long getMinimumMillisecondsPerFetch()
public void setMaxOpenConnections(java.lang.Integer value)
public java.lang.Integer getMaxOpenConnections()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||