Package com.splunk

Examples of com.splunk.Index.clean()


        if (index == null)
            Command.error("Index '" + name + "' does not exists");

        if (action.equals("clean")) {
            try {
                index.clean(180);   // Timeout after 3 minutes.
            } catch (SplunkException e) {
                if (e.getCode() == SplunkException.INTERRUPTED) {
                    // User pressed Ctrl-C
                    return;
                } else {
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.