public class ServerStatusExporter extends Object implements ServerStatusExporterMBean
Constructor and Description |
---|
ServerStatusExporter(ServerStatus serverStatus)
Initiates exporter with server status.
|
Modifier and Type | Method and Description |
---|---|
long |
getFilesProcessed()
Gets the number of files processed in this cycle.
|
long |
getMillisSinceLastParseStarted()
Gets the milliseconds passed since last parse started.
|
int |
getNumRestarts()
Gets the number of child restart.
|
String |
getServerId()
Gets server id.
|
String |
getStatus()
Gets the current operating status as string.
|
public ServerStatusExporter(ServerStatus serverStatus)
serverStatus
- the server status object currently in use by the server.public String getServerId()
getServerId
in interface ServerStatusExporterMBean
public String getStatus()
getStatus
in interface ServerStatusExporterMBean
public long getMillisSinceLastParseStarted()
getMillisSinceLastParseStarted
in interface ServerStatusExporterMBean
public long getFilesProcessed()
getFilesProcessed
in interface ServerStatusExporterMBean
public int getNumRestarts()
getNumRestarts
in interface ServerStatusExporterMBean
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.