|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.monitor.DirectoryMonitor
public class DirectoryMonitor
Directory monitor.
Constructor Summary | |
---|---|
DirectoryMonitor()
This constructor is used by serialization sub-system and is not intended to use directly in client code. |
|
DirectoryMonitor(java.lang.String name,
java.lang.String pathname,
java.lang.Long timeout,
boolean monitorAdding,
boolean monitorChanging,
boolean monitorDeleting,
boolean monitorRecursively,
com.jscape.inet.mft.monitor.DirectoryQuota quota,
java.lang.Long latencyPeriod,
java.lang.String owner,
java.lang.Long maxFileAgeMillis)
Creates a new monitor instance. |
Method Summary | |
---|---|
java.lang.Long |
getLatencyPeriod()
Returns monitor latency period. |
java.lang.Long |
getMaxFileAgeMillis()
Returns a file max age value. |
boolean |
getMonitorAdding()
Returns file adding monitor flag. |
boolean |
getMonitorChanging()
Returns file changing monitor flag. |
boolean |
getMonitorDeleting()
Returns file deleting monitor flag. |
boolean |
getMonitorRecursively()
Returns recursively monitor flag. |
java.lang.String |
getName()
Returns monitor name. |
java.lang.String |
getOwner()
Returns the monitor owner. |
java.lang.String |
getPathname()
Returns target directory path. |
com.jscape.inet.mft.monitor.DirectoryQuota |
getQuota()
Returns directory quota. |
java.lang.Long |
getTimeout()
Returns monitor timeout. |
void |
setLatencyPeriod(java.lang.Long value)
Sets a monitor latency period. |
void |
setMaxFileAgeMillis(java.lang.Long value)
Sets a file max age value. |
void |
setMonitorAdding(boolean value)
Sets file adding monitor flag |
void |
setMonitorChanging(boolean value)
Sets file changing monitor flag |
void |
setMonitorDeleting(boolean value)
Sets file deleting monitor flag |
void |
setMonitorRecursively(boolean value)
Sets recursive monitor flag. |
void |
setName(java.lang.String value)
Sets monitor name. |
void |
setOwner(java.lang.String value)
Sets a monitor owner. |
void |
setPathname(java.lang.String value)
Sets target directory path. |
void |
setQuota(com.jscape.inet.mft.monitor.DirectoryQuota value)
Sets directory quota. |
void |
setTimeout(java.lang.Long value)
Sets monitor timeout. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DirectoryMonitor(java.lang.String name, java.lang.String pathname, java.lang.Long timeout, boolean monitorAdding, boolean monitorChanging, boolean monitorDeleting, boolean monitorRecursively, com.jscape.inet.mft.monitor.DirectoryQuota quota, java.lang.Long latencyPeriod, java.lang.String owner, java.lang.Long maxFileAgeMillis)
name
- monitor namepathname
- target directorytimeout
- monitor timeout in msmonitorAdding
- if true
file adding will be monitoredmonitorChanging
- if true
file changing will be monitoredmonitorDeleting
- if true
file deleting will be monitoredmonitorRecursively
- if true
subdirectories will be monitored recursivelyquota
- disk space quota for the monitored directory in byteslatencyPeriod
- a latency periodowner
- a monitor ownermaxFileAgeMillis
- a file max file agepublic DirectoryMonitor()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String value)
value
- monitor namepublic java.lang.String getPathname()
public void setPathname(java.lang.String value)
value
- target directory pathpublic java.lang.Long getTimeout()
public void setTimeout(java.lang.Long value)
value
- monitor timeout in mspublic boolean getMonitorAdding()
true
if file adding is monitored; false
otherwisepublic void setMonitorAdding(boolean value)
value
- if true
file adding will be monitoredpublic boolean getMonitorChanging()
true
if file changing is monitored;
false
otherwisepublic void setMonitorChanging(boolean value)
value
- if true
file changing will be monitoredpublic boolean getMonitorDeleting()
true
if file deleting is monitored;
false
otherwisepublic void setMonitorDeleting(boolean value)
value
- if true
file deleting will be monitoredpublic boolean getMonitorRecursively()
true
if monitor works recursively;
false
otherwisepublic void setMonitorRecursively(boolean value)
value
- if true
monitor will work recursivelypublic com.jscape.inet.mft.monitor.DirectoryQuota getQuota()
public void setQuota(com.jscape.inet.mft.monitor.DirectoryQuota value)
value
- directory quota in bytespublic java.lang.Long getLatencyPeriod()
public void setLatencyPeriod(java.lang.Long value)
value
- a monitor latency periodpublic java.lang.String getOwner()
public void setOwner(java.lang.String value)
value
- a monitor ownerpublic java.lang.Long getMaxFileAgeMillis()
public void setMaxFileAgeMillis(java.lang.Long value)
value
- a file max age valuepublic java.lang.String toString()
toString
in class java.lang.Object
|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |