public class CrawlerStatus extends java.lang.Object implements com.exalead.util.Checkable, java.io.Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
long |
boxdocs |
java.lang.String |
name |
long |
ndocs |
int |
nthreads |
long |
nurls |
ProbeValueList |
probeValueList |
java.util.List<SourceStatus> |
sourceStatus |
java.lang.String |
state |
Constructor and Description |
---|
CrawlerStatus() |
CrawlerStatus(CrawlerStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this CrawlerStatus.
|
CrawlerStatus |
clone()
Creates and returns a deep copy of this CrawlerStatus.
|
static CrawlerStatus |
fromString(java.lang.String s)
String representation of this CrawlerStatus.
|
long |
getBoxdocs()
number of documents stored in this crawler's box (includes noindex urls)
|
java.lang.String |
getName() |
long |
getNdocs()
total number of docs indexed in this crawler's sources
|
int |
getNthreads()
number of threads in this crawler
|
long |
getNurls()
number of known urls this crawler still has to fetch
|
ProbeValueList |
getProbeValueList() |
java.util.List<SourceStatus> |
getSourceStatus() |
java.lang.String |
getState()
state: "starting", "started", "stopping", "stopped", "exiting"
|
CrawlerStatus |
makeCopy()
Creates and returns a deep copy of this CrawlerStatus.
|
static CrawlerStatus |
readFrom(java.io.InputStream is)
Read this CrawlerStatus from an XML fragment.
|
void |
setBoxdocs(long boxdocs)
number of documents stored in this crawler's box (includes noindex urls)
|
void |
setName(java.lang.String name) |
void |
setNdocs(long ndocs)
total number of docs indexed in this crawler's sources
|
void |
setNthreads(int nthreads)
number of threads in this crawler
|
void |
setNurls(long nurls)
number of known urls this crawler still has to fetch
|
void |
setProbeValueList(ProbeValueList probeValueList) |
void |
setState(java.lang.String state)
state: "starting", "started", "stopping", "stopped", "exiting"
|
java.lang.String |
toString()
String representation of this CrawlerStatus.
|
CrawlerStatus |
withBoxdocs(long boxdocs) |
CrawlerStatus |
withBoxdocs(java.lang.Long boxdocs) |
CrawlerStatus |
withName(java.lang.String name) |
CrawlerStatus |
withNdocs(long ndocs) |
CrawlerStatus |
withNdocs(java.lang.Long ndocs) |
CrawlerStatus |
withNthreads(int nthreads) |
CrawlerStatus |
withNthreads(java.lang.Integer nthreads) |
CrawlerStatus |
withNurls(long nurls) |
CrawlerStatus |
withNurls(java.lang.Long nurls) |
CrawlerStatus |
withProbeValueList(ProbeValueList probeValueList) |
CrawlerStatus |
withSourceStatus(java.util.Collection<SourceStatus> __values) |
CrawlerStatus |
withSourceStatus(SourceStatus... __values) |
CrawlerStatus |
withState(java.lang.String state) |
void |
writeTo(java.io.OutputStream os)
Write this CrawlerStatus as an XML fragment
|
public java.util.List<SourceStatus> sourceStatus
public ProbeValueList probeValueList
public java.lang.String name
public java.lang.String state
public int nthreads
public long nurls
public long ndocs
public long boxdocs
public CrawlerStatus()
public CrawlerStatus(CrawlerStatus o)
public java.util.List<SourceStatus> getSourceStatus()
public CrawlerStatus withSourceStatus(SourceStatus... __values)
public CrawlerStatus withSourceStatus(java.util.Collection<SourceStatus> __values)
public void setProbeValueList(ProbeValueList probeValueList)
public ProbeValueList getProbeValueList()
public CrawlerStatus withProbeValueList(ProbeValueList probeValueList)
public void setName(java.lang.String name)
public java.lang.String getName()
public CrawlerStatus withName(java.lang.String name)
public void setState(java.lang.String state)
public java.lang.String getState()
public CrawlerStatus withState(java.lang.String state)
public void setNthreads(int nthreads)
public int getNthreads()
public CrawlerStatus withNthreads(int nthreads)
public CrawlerStatus withNthreads(java.lang.Integer nthreads)
public void setNurls(long nurls)
public long getNurls()
public CrawlerStatus withNurls(long nurls)
public CrawlerStatus withNurls(java.lang.Long nurls)
public void setNdocs(long ndocs)
public long getNdocs()
public CrawlerStatus withNdocs(long ndocs)
public CrawlerStatus withNdocs(java.lang.Long ndocs)
public void setBoxdocs(long boxdocs)
public long getBoxdocs()
public CrawlerStatus withBoxdocs(long boxdocs)
public CrawlerStatus withBoxdocs(java.lang.Long boxdocs)
public CrawlerStatus clone()
clone
in class java.lang.Object
public CrawlerStatus makeCopy()
public static CrawlerStatus readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static CrawlerStatus fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.