class TempFileToucherTask extends TimerTask
{
    private final static Logger Log = LoggerFactory.getLogger( TempFileToucherTask.class );

    private final Server server;

    public TempFileToucherTask( final Server server )
    {
        this.server = server;
    }

    @Override
    public void run()
    {<FILL_FUNCTION_BODY>}
}

        final FileTime now = FileTime.fromMillis( System.currentTimeMillis() );
        for ( final Handler handler : this.server.getChildHandlersByClass( WebAppContext.class ) )
        {
            final File tempDirectory = ((WebAppContext) handler).getTempDirectory();
            try
            {
                Log.debug( "Updating the last modified timestamp of content in Jetty's temporary storage in: {}", tempDirectory);
                Files.walk( tempDirectory.toPath() )
                    .forEach( f -> {
                        try
                        {
                            Log.trace( "Setting the last modified timestamp of file '{}' in Jetty's temporary storage to: {}", f, now);
                            Files.setLastModifiedTime( f, now );
                        }
                        catch ( IOException e )
                        {
                            Log.warn( "An exception occurred while trying to update the last modified timestamp of content in Jetty's temporary storage in: {}", f, e );
                        }
                    } );
            }
            catch ( IOException e )
            {
                Log.warn( "An exception occurred while trying to update the last modified timestamp of content in Jetty's temporary storage in: {}", tempDirectory, e );
            }
        }
    
<methods>public boolean cancel() ,public abstract void run() ,public long scheduledExecutionTime() <variables>static final int CANCELLED,static final int EXECUTED,static final int SCHEDULED,static final int VIRGIN,final java.lang.Object lock,long nextExecutionTime,long period,int state