frysk.sys
Class ProcessIdentifierFactory

java.lang.Object
  extended by frysk.sys.ProcessIdentifierFactory

public class ProcessIdentifierFactory
extends Object

Generates ProcessIdentifiers (and ensures that they are unique).


Nested Class Summary
private static class ProcessIdentifierFactory.ConcreteProcessIdentifier
           
private static class ProcessIdentifierFactory.ProcessIdentifierKey
          Class to use when searching for an existing pid in the cached process table.
 
Field Summary
private static ProcessIdentifierFactory.ProcessIdentifierKey key
           
private static Map processTable
           
 
Constructor Summary
ProcessIdentifierFactory()
           
 
Method Summary
static ProcessIdentifier create(int pid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processTable

private static final Map processTable

key

private static final ProcessIdentifierFactory.ProcessIdentifierKey key
Constructor Detail

ProcessIdentifierFactory

public ProcessIdentifierFactory()
Method Detail

create

public static ProcessIdentifier create(int pid)