Package org.nutz.filepool

Examples of org.nutz.filepool.SynchronizedFilePool


            home = Disks.normalize(home);
            if (home == null)
              home = config.get("pool-home").toString();
            long max = config.containsKey("pool-max") ? ((Number) config.get("pool-max")).longValue() : 2000;
            pool = new NutFilePool(home, max);
            pool = new SynchronizedFilePool(pool);
        } catch (Throwable e) {
            if (log.isWarnEnabled())
                log.warnf("NutDao FilePool create fail!! Blob and Clob Support is DISABLE!! Home="+home, e);
        }
        return this;
View Full Code Here

TOP

Related Classes of org.nutz.filepool.SynchronizedFilePool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.