001: package org.jacorb.notification.conf;
002:
003: import org.jacorb.notification.engine.TaskProcessorRetryStrategyFactory;
004: import org.jacorb.notification.util.WeakCacheWildcardMap;
005:
006: /*
007: * JacORB - a free Java ORB
008: *
009: * Copyright (C) 1999-2004 Gerald Brose
010: *
011: * This library is free software; you can redistribute it and/or
012: * modify it under the terms of the GNU Library General Public
013: * License as published by the Free Software Foundation; either
014: * version 2 of the License, or (at your option) any later version.
015: *
016: * This library is distributed in the hope that it will be useful,
017: * but WITHOUT ANY WARRANTY; without even the implied warranty of
018: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
019: * Library General Public License for more details.
020: *
021: * You should have received a copy of the GNU Library General Public
022: * License along with this library; if not, write to the Free
023: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
024: *
025: */
026:
027: /**
028: * @author Alphonse Bendt
029: * @version $Id: Default.java,v 1.12 2006/01/21 00:45:41 alphonse.bendt Exp $
030: */
031:
032: public interface Default {
033: long DEFAULT_PULL_CONSUMER_POLL_INTERVAL = 1000L;
034:
035: String DEFAULT_ORDER_POLICY = "PriorityOrder";
036:
037: String DEFAULT_DISCARD_POLICY = "PriorityOrder";
038:
039: int DEFAULT_MAX_EVENTS_PER_CONSUMER = 100;
040:
041: int DEFAULT_MAX_BATCH_SIZE = 1;
042:
043: int DEFAULT_FILTER_POOL_SIZE = 2;
044:
045: int DEFAULT_DELIVER_POOL_WORKERS = 4;
046:
047: int DEFAULT_BACKOUT_INTERVAL = 2000;
048:
049: int DEFAULT_EVENTCONSUMER_ERROR_THRESHOLD = 3;
050:
051: int DEFAULT_PULL_POOL_SIZE = 2;
052:
053: String DEFAULT_THREADPOLICY = "ThreadPool";
054:
055: String DEFAULT_FILTER_FACTORY = "builtin";
056:
057: /**
058: * 0 means no limit
059: */
060: int DEFAULT_MAX_NUMBER_SUPPLIERS = 0;
061:
062: /**
063: * 0 means no limit
064: */
065: int DEFAULT_MAX_NUMBER_CONSUMERS = 0;
066:
067: String DEFAULT_START_TIME_SUPPORTED = "on";
068:
069: String DEFAULT_STOP_TIME_SUPPORTED = "on";
070:
071: /**
072: * per default one concurrent pull operation is allowed per PullSupplier.
073: */
074: int DEFAULT_CONCURRENT_PULL_OPERATIONS_ALLOWED = 1;
075:
076: String DEFAULT_DISPOSE_PROXY_CALLS_DISCONNECT = "on";
077:
078: boolean DEFAULT_LAZY_DEFAULT_ADMIN_INIT = true;
079:
080: String DEFAULT_REJECT_NEW_EVENTS = "off";
081:
082: /**
083: * 0 means no limit
084: */
085: int DEFAULT_MAX_QUEUE_LENGTH = 0;
086:
087: String DEFAULT_WILDCARDMAP_IMPL = WeakCacheWildcardMap.class
088: .getName();
089:
090: String DEFAULT_RETRY_STRATEGY_FACTORY = TaskProcessorRetryStrategyFactory.class
091: .getName();
092:
093: /**
094: * 0 means no limit
095: */
096: long DEFAULT_DEAD_FILTER_INTERVAL = 0;
097:
098: boolean DEFAULT_USE_GC = false;
099:
100: String DEFAULT_RUN_SYSTEM_GC = "off";
101: }
|