com.zehon.ftp.samples
Class CloseCacheSample

java.lang.Object
  extended by com.zehon.ftp.samples.CloseCacheSample

public class CloseCacheSample
extends java.lang.Object


Constructor Summary
CloseCacheSample()
           
 
Method Summary
static void main(java.lang.String[] args)
          Clean up the global cache, YOU DON'T HAVE TO DO THIS, it is completely OK to have the global cache running still, but if it bothers you about having running threads then do this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseCacheSample

public CloseCacheSample()
Method Detail

main

public static void main(java.lang.String[] args)
Clean up the global cache, YOU DON'T HAVE TO DO THIS, it is completely OK to have the global cache running still, but if it bothers you about having running threads then do this. ONLY DO THIS BEFORE THE JVM EXITS (before the main() method exits) DON'T USE IT IF THE APPLICATION IS RUNNING WITHIN A SERVLET CONTAINER or YOUR MAIN THREAD IS STILL RUNNING, UNLESS YOU CAN HOOK IT TO THE SHUTDOWN MECHANISM OF THE CONTAINER. THIS IS FOR CLOSING ALL THREADS IN YOUR STAND-ALONE APPLICATION BEFORE IT EXITS. Please refer to http://www.zehon.com/FTP_samples.htm for its full source code

Parameters:
args -


Copyright 2009 Zehon Team. All Rights Reserved.