org.jmage.pool
Class Worker
java.lang.Object
org.jmage.pool.Worker
public class Worker
- extends java.lang.Object
A Worker object is a managed resource that is distributed through a pool
Field Summary |
protected int |
jobCount
|
protected java.util.Date |
lastReport
|
protected static org.apache.log4j.Logger |
log
|
protected java.lang.Object |
object
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
object
protected java.lang.Object object
jobCount
protected int jobCount
lastReport
protected java.util.Date lastReport
Worker
public Worker()
getObject
public java.lang.Object getObject()
setObject
public void setObject(java.lang.Object object)
getJobCount
public int getJobCount()
setJobCount
protected void setJobCount(int jobCount)
incJobCount
public void incJobCount()
decJobCount
public void decJobCount()
getLastReport
public java.util.Date getLastReport()
setLastReport
public void setLastReport(java.util.Date lastReport)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2008 Sourceforge. All Rights Reserved.