File tree 1 file changed +0
-26
lines changed
log4j-api/src/main/java/org/apache/logging/log4j/util
1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 21
21
import java .util .Queue ;
22
22
import java .util .concurrent .ArrayBlockingQueue ;
23
23
import org .jctools .queues .MpmcArrayQueue ;
24
- import org .jctools .queues .MpscArrayQueue ;
25
- import org .jctools .queues .SpmcArrayQueue ;
26
24
import org .jctools .queues .SpscArrayQueue ;
27
25
28
26
/**
@@ -42,16 +40,6 @@ public enum QueueFactories {
42
40
*/
43
41
SPSC (Lazy .lazy (JCToolsQueueFactory .SPSC ::load )),
44
42
45
- /**
46
- * Provides a bounded queue for multi-producer/single-consumer usage.
47
- */
48
- MPSC (Lazy .lazy (JCToolsQueueFactory .MPSC ::load )),
49
-
50
- /**
51
- * Provides a bounded queue for single-producer/multi-consumer usage.
52
- */
53
- SPMC (Lazy .lazy (JCToolsQueueFactory .SPMC ::load )),
54
-
55
43
/**
56
44
* Provides a bounded queue for multi-producer/multi-consumer usage.
57
45
*/
@@ -154,20 +142,6 @@ public <E> Queue<E> create(final int capacity) {
154
142
}
155
143
},
156
144
157
- MPSC {
158
- @ Override
159
- public <E > Queue <E > create (final int capacity ) {
160
- return new MpscArrayQueue <>(capacity );
161
- }
162
- },
163
-
164
- SPMC {
165
- @ Override
166
- public <E > Queue <E > create (final int capacity ) {
167
- return new SpmcArrayQueue <>(capacity );
168
- }
169
- },
170
-
171
145
MPMC {
172
146
@ Override
173
147
public <E > Queue <E > create (final int capacity ) {
You can’t perform that action at this time.
0 commit comments