ClusterTask.java 522 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/**
 * $Revision$
 * $Date$
 *
 * Copyright (C) 1999-2005 Jive Software. All rights reserved.
 * This software is the proprietary information of Jive Software. Use is subject to license terms.
 */
package org.jivesoftware.util.cache;

10
import java.io.Externalizable;
11 12 13 14 15

/**
 * An interface to mix in Serializable and Runnable, which are both required for
 * sending invocable tasks across a cluster.
 */
16
public interface ClusterTask extends Runnable, Externalizable {
17 18 19 20 21

    public Object getResult();

}