All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.util.event.api.EventPriority Maven / Gradle / Ivy

The newest version!
/**
 * OW2 Util
 * Copyright (C) 2008 Bull S.A.S.
 * Contact: [email protected]
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 *
 * --------------------------------------------------------------------------
 * $Id: EventPriority.java 4389 2008-12-15 13:48:57Z alitokmen $
 * --------------------------------------------------------------------------
 */

package org.ow2.util.event.api;

/**
 * Define listener's priorities.
 * @author missonng
 */
public enum EventPriority {
    /**
     * Ordinal : 0.
     */
    SYNC_HIGH,

    /**
     * Ordinal : 1.
     */
    SYNC_NORM,

    /**
     * Ordinal : 2.
     */
    SYNC_LOW,

    /**
     * Ordinal : 3.
     */
    NONE,

    /**
     * Ordinal : 4.
     */
    ASYNC_HIGH,

    /**
     * Ordinal : 5.
     */
    ASYNC_NORM,

    /**
     * Ordinal : 6.
     */
    ASYNC_LOW
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy