java.lang.Object
com.aoindustries.aoserv.client.AoservObject<SmallIdentifier,Process>
com.aoindustries.aoserv.client.master.Process
com.aoindustries.aoserv.master.master.Process
- All Implemented Interfaces:
Streamable
,StreamReadable
,StreamWritable
,Row
,AoservReadable
,AoservStreamable
,AoservWritable
,SingleTableObject<SmallIdentifier,
Process>
A mutable version of
Process
used to track processes on the master server.- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.client.master.Process
aoservProtocol, authenticatedUser, connectorId, connectTime, daemonServer, effectiveUser, host, id, isSecure, LOGIN, priority, protocol, RUN, SLEEP, state, stateStartTime, totalTime, useCount
Fields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
Constructor Summary
ConstructorDescriptionProcess
(SmallIdentifier id, InetAddress host, String protocol, boolean isSecure, Timestamp connectTime) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
String[]
static boolean
void
setAoservProtocol
(String aoservProtocol) void
setAuthenticatedUser
(User.Name username) void
setCommand
(Object... command) void
setConnectorId
(Identifier connectorId) void
setDeamonServer
(int server) void
setEffectiveUser
(User.Name username) static void
setLogCommands
(boolean logCommands) Turns on/off command logging.void
setPriority
(int priority) Methods inherited from class com.aoindustries.aoserv.client.master.Process
combineCommand, getAoservProtocol, getAuthenticatedAdministrator, getAuthenticatedAdministrator_username, getColumnImpl, getConnectorId, getConnectTime, getDaemonServer, getEffectiveAdministrator, getEffectiveAdministrator_username, getHost, getId, getKey, getPriority, getProtocol, getState, getStateStartTime, getTable, getTableId, getTotalTime, getUseCount, init, isSecure, read, setTable, write
Methods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, equals, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, hashCode, read, toString, toStringImpl, write
-
Constructor Details
-
Process
public Process(SmallIdentifier id, InetAddress host, String protocol, boolean isSecure, Timestamp connectTime)
-
-
Method Details
-
setLogCommands
public static void setLogCommands(boolean logCommands) Turns on/off command logging. -
getLogCommands
public static boolean getLogCommands() -
commandCompleted
public void commandCompleted() -
commandRunning
public void commandRunning() -
commandSleeping
public void commandSleeping() -
setAoservProtocol
-
getCommand
- Overrides:
getCommand
in classProcess
-
setCommand
-
setAuthenticatedUser
-
setConnectorId
-
setDeamonServer
public void setDeamonServer(int server) -
setEffectiveUser
-
setPriority
public void setPriority(int priority)
-