1 24 25 package org.objectweb.dream.queue; 26 27 import org.objectweb.fractal.api.control.AttributeController; 28 29 34 public interface PushQueueAttributeController extends AttributeController 35 { 36 37 43 String BLOCK_OVERFLOW_POLICY = "block"; 44 45 49 String DROP_QUEUE_MESSAGE_OVERFLOW_POLICY = "drop-queue-message"; 50 51 55 String DROP_FIRST_OVERFLOW_POLICY = "drop-first"; 56 57 61 String DROP_LAST_OVERFLOW_POLICY = "drop-last"; 62 63 67 String DROP_PROCESSED_MESSAGE_OVERFLOW_POLICY = "drop-processed-message"; 68 69 73 String EXCEPTION_OVERFLOW_POLICY = "exception"; 74 75 80 String getOverflowPolicy(); 81 82 89 void setOverflowPolicy(String policy); 90 91 } | Popular Tags |