KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > notification > conf > Default


1 package org.jacorb.notification.conf;
2
3 import org.jacorb.notification.engine.TaskProcessorRetryStrategyFactory;
4 import org.jacorb.notification.util.WeakCacheWildcardMap;
5
6 /*
7  * JacORB - a free Java ORB
8  *
9  * Copyright (C) 1999-2004 Gerald Brose
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Library General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * Library General Public License for more details.
20  *
21  * You should have received a copy of the GNU Library General Public
22  * License along with this library; if not, write to the Free
23  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24  *
25  */

26
27 /**
28  * @author Alphonse Bendt
29  * @version $Id: Default.java,v 1.10 2005/04/27 10:33:43 alphonse.bendt Exp $
30  */

31
32 public interface Default
33 {
34     long DEFAULT_PULL_CONSUMER_POLL_INTERVAL = 1000L;
35
36     String JavaDoc DEFAULT_ORDER_POLICY = "PriorityOrder";
37
38     String JavaDoc DEFAULT_DISCARD_POLICY = "PriorityOrder";
39
40     int DEFAULT_MAX_EVENTS_PER_CONSUMER = 100;
41
42     int DEFAULT_MAX_BATCH_SIZE = 1;
43
44     int DEFAULT_FILTER_POOL_SIZE = 2;
45
46     int DEFAULT_DELIVER_POOL_WORKERS = 4;
47
48     int DEFAULT_BACKOUT_INTERVAL = 2000;
49
50     int DEFAULT_EVENTCONSUMER_ERROR_THRESHOLD = 3;
51
52     int DEFAULT_PULL_POOL_SIZE = 2;
53
54     String JavaDoc DEFAULT_THREADPOLICY = "ThreadPool";
55
56     String JavaDoc DEFAULT_FILTER_FACTORY = "builtin";
57
58     /**
59      * 0 means no limit
60      */

61     int DEFAULT_MAX_NUMBER_SUPPLIERS = 0;
62
63     /**
64      * 0 means no limit
65      */

66     int DEFAULT_MAX_NUMBER_CONSUMERS = 0;
67
68     String JavaDoc DEFAULT_START_TIME_SUPPORTED = "on";
69
70     String JavaDoc DEFAULT_STOP_TIME_SUPPORTED = "on";
71
72     /**
73      * per default one concurrent pull operation is allowed per PullSupplier.
74      */

75     int DEFAULT_CONCURRENT_PULL_OPERATIONS_ALLOWED = 1;
76
77     String JavaDoc DEFAULT_DISPOSE_PROXY_CALLS_DISCONNECT = "on";
78
79     String JavaDoc DEFAULT_LAZY_DEFAULT_ADMIN_INIT = "on";
80
81     String JavaDoc DEFAULT_REJECT_NEW_EVENTS = "off";
82
83     /**
84      * 0 means no limit
85      */

86     int DEFAULT_MAX_QUEUE_LENGTH = 0;
87
88     String JavaDoc DEFAULT_WILDCARDMAP_IMPL = WeakCacheWildcardMap.class.getName();
89
90     String JavaDoc DEFAULT_RETRY_STRATEGY_FACTORY = TaskProcessorRetryStrategyFactory.class.getName();
91
92     /**
93      * 0 means no limit
94      */

95     long DEFAULT_DEAD_FILTER_INTERVAL = 0;
96
97     boolean DEFAULT_USE_GC = false;
98 }
99
Popular Tags