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, useCountFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionProcess(SmallIdentifier id, InetAddress host, String protocol, boolean isSecure, Timestamp connectTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidString[]static booleanvoidsetAoservProtocol(String aoservProtocol) voidsetAuthenticatedUser(User.Name username) voidsetCommand(Object... command) voidsetConnectorId(Identifier connectorId) voidsetDeamonServer(int server) voidsetEffectiveUser(User.Name username) static voidsetLogCommands(boolean logCommands) Turns on/off command logging.voidsetPriority(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, writeMethods 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:
getCommandin classProcess
-
setCommand
-
setAuthenticatedUser
-
setConnectorId
-
setDeamonServer
public void setDeamonServer(int server) -
setEffectiveUser
-
setPriority
public void setPriority(int priority)
-
