cleaned up old comments for code that doesnt exist
This commit is contained in:
parent
ca155b418d
commit
1f0360b6ed
3 changed files with 1 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
b/*
|
||||||
* JobServClientAPIConnector
|
* JobServClientAPIConnector
|
||||||
*
|
*
|
||||||
* v1.0
|
* v1.0
|
||||||
|
|
@ -24,11 +24,6 @@ import java.util.logging.Logger;
|
||||||
class JobServClientAPIConnector {
|
class JobServClientAPIConnector {
|
||||||
private final String apiFailureMessage = "Failed while trying to connect to server.";
|
private final String apiFailureMessage = "Failed while trying to connect to server.";
|
||||||
|
|
||||||
/*
|
|
||||||
* The client should not use the same logging module as the server.
|
|
||||||
* In a more robust product the server logging module will take advantage of system level
|
|
||||||
* log aggregators such as journalctl, which the client should not be writing to on the users system
|
|
||||||
*/
|
|
||||||
private static final Logger logger = Logger.getLogger(JobServClient.class.getName());
|
private static final Logger logger = Logger.getLogger(JobServClient.class.getName());
|
||||||
|
|
||||||
private final ManagedChannel channel;
|
private final ManagedChannel channel;
|
||||||
|
|
|
||||||
|
|
@ -65,8 +65,6 @@ class ProcessController {
|
||||||
/*
|
/*
|
||||||
* getStatus()
|
* getStatus()
|
||||||
* returns whether or not the process is running
|
* returns whether or not the process is running
|
||||||
*
|
|
||||||
* TODO: (for future release) return thread state
|
|
||||||
*/
|
*/
|
||||||
public int getStatus() {
|
public int getStatus() {
|
||||||
if (this.killedManually) {
|
if (this.killedManually) {
|
||||||
|
|
|
||||||
|
|
@ -189,9 +189,6 @@ class ProcessManager {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* getLock()
|
* getLock()
|
||||||
* Locks access to this.processQueue
|
|
||||||
* Waits for a predefined timeout period for mutex to be avail.
|
|
||||||
* Synchronized so two things cannot grab lock at once.
|
|
||||||
* Throws TimeoutException when it fails to get the lock.
|
* Throws TimeoutException when it fails to get the lock.
|
||||||
* Alternatively, throws false if lock doesnt exist for PID
|
* Alternatively, throws false if lock doesnt exist for PID
|
||||||
* Function is synchronized to prevent multiple threads accessing the same lock at once
|
* Function is synchronized to prevent multiple threads accessing the same lock at once
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue