public class CrawlerStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
boxdocs |
protected java.lang.String |
name |
protected java.lang.Long |
ndocs |
protected java.lang.Long |
nthreads |
protected java.lang.Long |
nurls |
protected ProbeValueList |
probeValueList |
protected java.util.List<SourceStatus> |
sourceStatus |
protected java.lang.String |
state |
Constructor and Description |
---|
CrawlerStatus()
Creates a new
CrawlerStatus instance. |
CrawlerStatus(CrawlerStatus o)
Creates a new
CrawlerStatus instance by deeply copying a given CrawlerStatus instance. |
Modifier and Type | Method and Description |
---|---|
CrawlerStatus |
clone()
Creates and returns a deep copy of this object.
|
long |
getBoxdocs()
number of documents stored in this crawler's box (includes noindex urls) (default: 0)
|
java.lang.String |
getName()
(default: null)
|
long |
getNdocs()
total number of docs indexed in this crawler's sources (default: 0)
|
long |
getNthreads()
number of threads in this crawler (default: 0)
|
long |
getNurls()
number of known urls this crawler still has to fetch (default: 0)
|
ProbeValueList |
getProbeValueList()
Gets the value of the probeValueList property.
|
java.util.List<SourceStatus> |
getSourceStatus()
Gets the value of the sourceStatus property.
|
java.lang.String |
getState()
state: "starting", "started", "stopping", "stopped", "exiting" (default: null)
|
void |
setBoxdocs(java.lang.Long value)
Sets the value of the boxdocs property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setNdocs(java.lang.Long value)
Sets the value of the ndocs property.
|
void |
setNthreads(java.lang.Long value)
Sets the value of the nthreads property.
|
void |
setNurls(java.lang.Long value)
Sets the value of the nurls property.
|
void |
setProbeValueList(ProbeValueList value)
Sets the value of the probeValueList property.
|
void |
setState(java.lang.String value)
Sets the value of the state property.
|
CrawlerStatus |
withBoxdocs(java.lang.Long value) |
CrawlerStatus |
withName(java.lang.String value) |
CrawlerStatus |
withNdocs(java.lang.Long value) |
CrawlerStatus |
withNthreads(java.lang.Long value) |
CrawlerStatus |
withNurls(java.lang.Long value) |
CrawlerStatus |
withProbeValueList(ProbeValueList value) |
CrawlerStatus |
withSourceStatus(java.util.Collection<SourceStatus> values) |
CrawlerStatus |
withSourceStatus(SourceStatus... values) |
CrawlerStatus |
withState(java.lang.String value) |
protected java.util.List<SourceStatus> sourceStatus
protected ProbeValueList probeValueList
protected java.lang.String name
protected java.lang.String state
protected java.lang.Long nthreads
protected java.lang.Long nurls
protected java.lang.Long ndocs
protected java.lang.Long boxdocs
public CrawlerStatus()
CrawlerStatus
instance.public CrawlerStatus(CrawlerStatus o)
CrawlerStatus
instance by deeply copying a given CrawlerStatus
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.util.List<SourceStatus> getSourceStatus()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the sourceStatus property.
For example, to add a new item, do as follows:
getSourceStatus().add(newItem);
Objects of the following type(s) are allowed in the list
SourceStatus
public ProbeValueList getProbeValueList()
ProbeValueList
public void setProbeValueList(ProbeValueList value)
value
- allowed object is
ProbeValueList
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getState()
String
public void setState(java.lang.String value)
value
- allowed object is
String
public long getNthreads()
Long
public void setNthreads(java.lang.Long value)
value
- allowed object is
Long
public long getNurls()
Long
public void setNurls(java.lang.Long value)
value
- allowed object is
Long
public long getNdocs()
Long
public void setNdocs(java.lang.Long value)
value
- allowed object is
Long
public long getBoxdocs()
Long
public void setBoxdocs(java.lang.Long value)
value
- allowed object is
Long
public CrawlerStatus withSourceStatus(SourceStatus... values)
public CrawlerStatus withSourceStatus(java.util.Collection<SourceStatus> values)
public CrawlerStatus withProbeValueList(ProbeValueList value)
public CrawlerStatus withName(java.lang.String value)
public CrawlerStatus withState(java.lang.String value)
public CrawlerStatus withNthreads(java.lang.Long value)
public CrawlerStatus withNurls(java.lang.Long value)
public CrawlerStatus withNdocs(java.lang.Long value)
public CrawlerStatus withBoxdocs(java.lang.Long value)
public CrawlerStatus clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.