Package org.voltdb

Examples of org.voltdb.VoltDBInterface


                }
        });
    }

    public static Future<byte[]> submitCompressionTask(Callable<byte[]> task) {
        VoltDBInterface instance = VoltDB.instance();
        if (VoltDB.instance() != null) {
            assert(false);
//            ExecutorService es = instance.getComputationService();
//            if (es != null) {
//                return es.submit(task);
View Full Code Here


                }
        });
    }

    public static <T> ListenableFuture<T> submitCompressionTask(Callable<T> task) {
        VoltDBInterface instance = VoltDB.instance();
        if (VoltDB.instance() != null) {
            ListeningExecutorService es = instance.getComputationService();
            if (es != null) {
                return es.submit(task);
            }
        }
        return m_executor.submit(task);
View Full Code Here

TOP

Related Classes of org.voltdb.VoltDBInterface

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.