Package com.tangosol.net

Examples of com.tangosol.net.InvocationService.query()


    public static Map getNodeInfo() {

        InvocationService service = com.tangosol.net.CacheFactory.getInvocationService("OpenFire Cluster Service");

        // Run cluster-wide stats query
        Map results = service.query(new AbstractInvocable() {
                public void run() {
                    // Get runtime stats - mem and time:
                    Runtime runtime = Runtime.getRuntime();
                    long free = runtime.freeMemory();
                    long total = runtime.totalMemory();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.