org.apache.avalon.excalibur.monitor
インタフェース Modifiable

既知の実装クラスの一覧:
Resource

public interface Modifiable

This interface is used by the Monitor section so that we can test if a resource is modified by an external source.

バージョン:
$Id: Modifiable.java,v 1.3 2001/12/11 09:53:30 jefft Exp $
作成者:
Berin Loritsch

メソッドの概要
 long lastModified()
          Simply provides the last time the resource has been modified.
 void testModifiedAfter(long time)
          Tests if a resource has been modified, and causes the resource to act on that test.
 

メソッドの詳細

testModifiedAfter

public void testModifiedAfter(long time)
Tests if a resource has been modified, and causes the resource to act on that test. The contract is that the method does its work only when the time passed in is after the last time the resource was modified.

lastModified

public long lastModified()
Simply provides the last time the resource has been modified.


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."