Examples of DeliveryMode


Examples of com.amazonaws.event.DeliveryMode

    private final boolean syncCallSafe;

    public LegacyS3ProgressListener(final ProgressListener listener) {
        this.listener = listener;
        if (listener instanceof DeliveryMode) {
            DeliveryMode mode = (DeliveryMode)listener;
            syncCallSafe = mode.isSyncCallSafe();
        } else
            syncCallSafe = false;
    }
View Full Code Here

Examples of com.amazonaws.event.DeliveryMode

        if (SYNC) { // forces all callbacks to be made synchronously
            return quietlyCallListener(listener, persistableTransfer);
        }
        if (!ASYNC) { // forces all callbacks to be made asynchronously
            if (listener instanceof DeliveryMode) {
                DeliveryMode mode = (DeliveryMode) listener;
                if (mode.isSyncCallSafe()) {
                    // Safe to call the listener directly
                    return quietlyCallListener(listener, persistableTransfer);
                }
            }
        }
View Full Code Here

Examples of org.jitterbit.integration.jms.DeliveryMode

     */
    public void setDeliveryMode(DeliveryMode mode) {
        if (mode == null) {
            throw new IllegalArgumentException("mode cannot be null");
        }
        DeliveryMode old = getDeliveryMode();
        setProperty(DELIVERY_MODE, mode.getJmsSpecValue());
        if (old != mode) {
            firePropertyChange(DELIVERY_MODE, old, mode);
        }
    }
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.