public void restart()
    {
        // Clear the sweep thread kill flag.
        sweepThreadKillFlag = false;

        // Start the sweep thread running with low priority.
        cacheSweepThread =
            new Thread()
            {
                public void run()
                {
                    sweep();
                }
            };

        cacheSweepThread.setPriority(Thread.MIN_PRIORITY);
        cacheSweepThread.start();
    }
public void restart()
    {
        
        sweepThreadKillFlag = false;

        
        cacheSweepThread =
            new Thread()
            {
                public void run()
                {
                    sweep();
                }
            };

        cacheSweepThread.setPriority(Thread.MIN_PRIORITY);
        cacheSweepThread.start();
    }
public void restart ( ) { // Clear the sweep thread kill flag. sweepThreadKillFlag = false ; // Start the sweep thread running with low priority. cacheSweepThread = new Thread ( ) { public void run ( ) { sweep ( ) ; } } ; cacheSweepThread . setPriority ( Thread . MIN_PRIORITY ) ; cacheSweepThread . start ( ) ; }
Restarts the sweep alogirithm. Useful after a kill has stopped it.
Restarts the sweep alogirithm . Useful after a kill has stopped it .