AgentIndexRunnerMBean.java revision 457
340N/A * The contents of this file are subject to the terms of the 340N/A * Common Development and Distribution License (the "License"). 340N/A * You may not use this file except in compliance with the License. 340N/A * language governing permissions and limitations under the License. 340N/A * When distributing Covered Code, include this CDDL HEADER in each 340N/A * If applicable, add the following below this CDDL HEADER, with the 340N/A * fields enclosed by brackets "[]" replaced with your own identifying 340N/A * information: Portions Copyright [yyyy] [name of copyright owner] 340N/A * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 340N/A * Use is subject to license terms. 340N/A * Last index time in System.currentmillis 340N/A * of successful index update 340N/A * @return long when last time the indexing finished 340N/A * Last index time in System.currentmillis 340N/A * @return long when last time indexing started 340N/A * Last index time usage for successful indexing (no exceptions) 340N/A * @return long how long the last index lasted 340N/A * Start indexing outside the timer 340N/A * @param waitForFinished wait for it to finish or just return when started 340N/A * Get Exception from last run 340N/A * @return Exception if any or null if no Exceptions.