public void setTimes ( String src , long mtime , long atime ) throws IOException { checkOpen ( ) ; clearFileStatusCache ( ) ; try { namenode . setTimes ( src , mtime , atime ) ; } catch ( RemoteException re ) { throw re . unwrapRemoteException ( AccessControlException . class , FileNotFoundException . class ) ; } }
set the modification and access time of a file