Package org.jivesoftware.util.cache

Examples of org.jivesoftware.util.cache.ClusterTask


    public void addAuthenticatedDomain(String domain) {
        doClusterTask(new AddAuthenticatedDomainTask(address, domain));
    }

    public Collection<String> getHostnames() {
        ClusterTask task = getRemoteSessionTask(RemoteSessionTask.Operation.getHostnames);
        return (Collection<String>) doSynchronousClusterTask(task);
    }
View Full Code Here


    public void addHostname(String hostname) {
        doClusterTask(new AddHostnameTask(address, hostname));
    }

    public boolean authenticateSubdomain(String domain, String hostname) {
        ClusterTask task = new AuthenticateSubdomainTask(address, domain, hostname);
        return (Boolean) doSynchronousClusterTask(task);
    }
View Full Code Here

        return (Boolean) doSynchronousClusterTask(task);
    }

    public boolean isUsingServerDialback() {
        if (usingServerDialback == -1) {
            ClusterTask task = getRemoteSessionTask(RemoteSessionTask.Operation.isUsingServerDialback);
            usingServerDialback = (Boolean) doSynchronousClusterTask(task) ? 1 : 0;
        }
        return usingServerDialback == 1;
    }
View Full Code Here

TOP

Related Classes of org.jivesoftware.util.cache.ClusterTask

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.