Openwings API Documentation (v1.1)

net.openwings.container.utilities
Class LogAccess.LogFileDescriptor

java.lang.Object
  extended bynet.openwings.container.utilities.LogAccess.LogFileDescriptor
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
LogAccess

public static class LogAccess.LogFileDescriptor
extends java.lang.Object
implements java.io.Serializable

This class describes a log file for an Openwings process.

See Also:
Serialized Form

Constructor Summary
LogAccess.LogFileDescriptor(java.lang.String componentName, UniqueID processID, long lastModified)
          This is the single public constructor for this class.
 
Method Summary
 java.lang.String getComponentName()
          This method returns the name of the component.
 long getLastModified()
          This method returns the log file modification time.
 UniqueID getProcessID()
          This method returns the unique identifier for the process.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogAccess.LogFileDescriptor

public LogAccess.LogFileDescriptor(java.lang.String componentName,
                                   UniqueID processID,
                                   long lastModified)
This is the single public constructor for this class.

Parameters:
componentName - name of the component executed by the process
processID - unique identifier for the process
lastModified - file modification time, corresponds to value returned by java.io.File.lastModified(), which may be used to construct a java.util.Date.
Method Detail

getComponentName

public java.lang.String getComponentName()
This method returns the name of the component.

Returns:
name of the component executed by the process

getProcessID

public UniqueID getProcessID()
This method returns the unique identifier for the process.

Returns:
unique identifier for the process

getLastModified

public long getLastModified()
This method returns the log file modification time.

Returns:
file modification time, corresponding to value returned by java.io.File.lastModified().

toString

public java.lang.String toString()

Openwings API Documentation (v1.1)