repo
stringclasses
1k values
file_url
stringlengths
96
373
file_path
stringlengths
11
294
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
6 values
commit_sha
stringclasses
1k values
retrieved_at
stringdate
2026-01-04 14:45:56
2026-01-04 18:30:23
truncated
bool
2 classes
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/LongEvent.java
src/test/java/com/lmax/disruptor/support/LongEvent.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/DummyEventHandler.java
src/test/java/com/lmax/disruptor/support/DummyEventHandler.java
package com.lmax.disruptor.support; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.LifecycleAware; public class DummyEventHandler<T> implements EventHandler<T>, LifecycleAware { public int startCalls = 0; public int shutdownCalls = 0; public T lastEvent; public long lastSequence; ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/TestWaiter.java
src/test/java/com/lmax/disruptor/support/TestWaiter.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/StubEvent.java
src/test/java/com/lmax/disruptor/support/StubEvent.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/TestEvent.java
src/test/java/com/lmax/disruptor/support/TestEvent.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/DummyWaitStrategy.java
src/test/java/com/lmax/disruptor/support/DummyWaitStrategy.java
package com.lmax.disruptor.support; import com.lmax.disruptor.*; public class DummyWaitStrategy implements WaitStrategy { public int signalAllWhenBlockingCalls = 0; @Override public long waitFor( long sequence, Sequence cursor, Sequence dependentSequence, SequenceBarrier barrier) throws A...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/DummyEventProcessor.java
src/test/java/com/lmax/disruptor/support/DummyEventProcessor.java
package com.lmax.disruptor.support; import com.lmax.disruptor.EventProcessor; import com.lmax.disruptor.Sequence; import com.lmax.disruptor.SingleProducerSequencer; import java.util.concurrent.atomic.AtomicBoolean; public class DummyEventProcessor implements EventProcessor { private final Sequence sequence; ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/DummySequenceBarrier.java
src/test/java/com/lmax/disruptor/support/DummySequenceBarrier.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/SequenceUpdater.java
src/test/java/com/lmax/disruptor/support/SequenceUpdater.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/support/WaitStrategyTestUtil.java
src/test/java/com/lmax/disruptor/support/WaitStrategyTestUtil.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/util/PaddedLong.java
src/test/java/com/lmax/disruptor/util/PaddedLong.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/util/UtilTest.java
src/test/java/com/lmax/disruptor/util/UtilTest.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/util/MutableLong.java
src/test/java/com/lmax/disruptor/util/MutableLong.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/ConsumerRepositoryTest.java
src/test/java/com/lmax/disruptor/dsl/ConsumerRepositoryTest.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/DisruptorTest.java
src/test/java/com/lmax/disruptor/dsl/DisruptorTest.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
true
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/stubs/StubThreadFactory.java
src/test/java/com/lmax/disruptor/dsl/stubs/StubThreadFactory.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/stubs/SleepingEventHandler.java
src/test/java/com/lmax/disruptor/dsl/stubs/SleepingEventHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/stubs/ExceptionThrowingEventHandler.java
src/test/java/com/lmax/disruptor/dsl/stubs/ExceptionThrowingEventHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/stubs/StubPublisher.java
src/test/java/com/lmax/disruptor/dsl/stubs/StubPublisher.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/stubs/TestWorkHandler.java
src/test/java/com/lmax/disruptor/dsl/stubs/TestWorkHandler.java
package com.lmax.disruptor.dsl.stubs; import com.lmax.disruptor.WorkHandler; import com.lmax.disruptor.support.TestEvent; import java.util.concurrent.atomic.AtomicBoolean; public class TestWorkHandler implements WorkHandler<TestEvent> { private final AtomicBoolean readyToProcessEvent = new AtomicBoolean(false); ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/stubs/EvilEqualsEventHandler.java
src/test/java/com/lmax/disruptor/dsl/stubs/EvilEqualsEventHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/stubs/EventHandlerStub.java
src/test/java/com/lmax/disruptor/dsl/stubs/EventHandlerStub.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/stubs/DelayedEventHandler.java
src/test/java/com/lmax/disruptor/dsl/stubs/DelayedEventHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/dsl/stubs/StubExceptionHandler.java
src/test/java/com/lmax/disruptor/dsl/stubs/StubExceptionHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/PullWithPoller.java
src/test/java/com/lmax/disruptor/example/PullWithPoller.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventFactory; import com.lmax.disruptor.EventPoller; import com.lmax.disruptor.RingBuffer; /** * Created by barkerm on 02/02/15. */ public class PullWithPoller { public static class DataEvent<T> { T data; public static <T> EventF...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/DynamiclyAddHandler.java
src/test/java/com/lmax/disruptor/example/DynamiclyAddHandler.java
package com.lmax.disruptor.example; import com.lmax.disruptor.*; import com.lmax.disruptor.dsl.Disruptor; import com.lmax.disruptor.support.StubEvent; import com.lmax.disruptor.util.DaemonThreadFactory; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurren...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/MultiProducerWithTranslator.java
src/test/java/com/lmax/disruptor/example/MultiProducerWithTranslator.java
package com.lmax.disruptor.example; import com.lmax.disruptor.BlockingWaitStrategy; import com.lmax.disruptor.EventFactory; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.EventTranslatorThreeArg; import com.lmax.disruptor.RingBuffer; import com.lmax.disruptor.dsl.Disruptor; import com.lmax.disruptor...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/SequentialThreeConsumers.java
src/test/java/com/lmax/disruptor/example/SequentialThreeConsumers.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventFactory; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.dsl.Disruptor; import com.lmax.disruptor.util.DaemonThreadFactory; public class SequentialThreeConsumers { private static class MyEvent { private Object a; ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/KeyedBatching.java
src/test/java/com/lmax/disruptor/example/KeyedBatching.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventHandler; import java.util.ArrayList; import java.util.List; public class KeyedBatching implements EventHandler<KeyedBatching.KeyedEvent> { private static final int MAX_BATCH_SIZE = 100; private long key = 0; private List<Object> batch = n...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/HandleExceptionOnTranslate.java
src/test/java/com/lmax/disruptor/example/HandleExceptionOnTranslate.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.EventTranslator; import com.lmax.disruptor.dsl.Disruptor; import com.lmax.disruptor.support.LongEvent; import com.lmax.disruptor.util.DaemonThreadFactory; public class HandleExceptionOnTranslate { private static ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/WaitForShutdown.java
src/test/java/com/lmax/disruptor/example/WaitForShutdown.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.LifecycleAware; import com.lmax.disruptor.TimeoutException; import com.lmax.disruptor.dsl.Disruptor; import com.lmax.disruptor.support.LongEvent; import com.lmax.disruptor.util.DaemonThreadFactory; import java.util.c...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/PullWithBatchedPoller.java
src/test/java/com/lmax/disruptor/example/PullWithBatchedPoller.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventFactory; import com.lmax.disruptor.EventPoller; import com.lmax.disruptor.RingBuffer; /** * Alternative usage of EventPoller, here we wrap it around BatchedEventPoller * to achieve Disruptor's batching. this speeds up the polling feature */ public ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/NamedEventHandler.java
src/test/java/com/lmax/disruptor/example/NamedEventHandler.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.LifecycleAware; public class NamedEventHandler<T> implements EventHandler<T>, LifecycleAware { private String oldName; private final String name; public NamedEventHandler(final String name) { ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/ShutdownOnError.java
src/test/java/com/lmax/disruptor/example/ShutdownOnError.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventFactory; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.EventTranslator; import com.lmax.disruptor.ExceptionHandler; import com.lmax.disruptor.RingBuffer; import com.lmax.disruptor.dsl.Disruptor; import java.util.concurrent.ThreadFa...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/ThreeToOneDisruptor.java
src/test/java/com/lmax/disruptor/example/ThreeToOneDisruptor.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventFactory; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.dsl.Disruptor; import com.lmax.disruptor.util.DaemonThreadFactory; import java.util.concurrent.Executor; import java.util.concurrent.Executors; public class ThreeToOneDisrupt...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/test/java/com/lmax/disruptor/example/Pipeliner.java
src/test/java/com/lmax/disruptor/example/Pipeliner.java
package com.lmax.disruptor.example; import com.lmax.disruptor.EventFactory; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.RingBuffer; import com.lmax.disruptor.dsl.Disruptor; import com.lmax.disruptor.util.DaemonThreadFactory; public class Pipeliner { public static void main(String[] args) ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventProcessor.java
src/main/java/com/lmax/disruptor/EventProcessor.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/WaitStrategy.java
src/main/java/com/lmax/disruptor/WaitStrategy.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/LiteBlockingWaitStrategy.java
src/main/java/com/lmax/disruptor/LiteBlockingWaitStrategy.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/WorkProcessor.java
src/main/java/com/lmax/disruptor/WorkProcessor.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/ExceptionHandler.java
src/main/java/com/lmax/disruptor/ExceptionHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/FatalExceptionHandler.java
src/main/java/com/lmax/disruptor/FatalExceptionHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventSequencer.java
src/main/java/com/lmax/disruptor/EventSequencer.java
package com.lmax.disruptor; /** * 事件序号生成器 * @param <T> */ public interface EventSequencer<T> extends DataProvider<T>, Sequenced { }
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/YieldingWaitStrategy.java
src/main/java/com/lmax/disruptor/YieldingWaitStrategy.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/AggregateEventHandler.java
src/main/java/com/lmax/disruptor/AggregateEventHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/BatchStartAware.java
src/main/java/com/lmax/disruptor/BatchStartAware.java
package com.lmax.disruptor; /** * 批量事件处理通知(感知) * 如果你的EventHandler实现了该接口,那么当批处理开始时,你会收到通知 * Implement this interface in your {@link EventHandler} to be notified when a thread for the * {@link BatchEventProcessor} start process events. */ public interface BatchStartAware { /** * 批处理开始 * @param batchSize 本批次事件个...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/Cursored.java
src/main/java/com/lmax/disruptor/Cursored.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventSink.java
src/main/java/com/lmax/disruptor/EventSink.java
package com.lmax.disruptor; /** * 定义了各种发布事件的方法 (使用事件传输对象发布事件) * * 不知道什么时候加的,感觉像后加的,有点像适配器。 * @param <E> */ public interface EventSink<E> { /** * Publishes an event to the ring buffer. It handles * claiming the next sequence, getting the current (uninitialised) * event from the ring buffer and ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/WorkerPool.java
src/main/java/com/lmax/disruptor/WorkerPool.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventTranslatorVararg.java
src/main/java/com/lmax/disruptor/EventTranslatorVararg.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/IgnoreExceptionHandler.java
src/main/java/com/lmax/disruptor/IgnoreExceptionHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/SequenceReportingEventHandler.java
src/main/java/com/lmax/disruptor/SequenceReportingEventHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/LiteTimeoutBlockingWaitStrategy.java
src/main/java/com/lmax/disruptor/LiteTimeoutBlockingWaitStrategy.java
package com.lmax.disruptor; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * 轻量级的带超时的阻塞等待策略。 * 如果生产者生产速率不够,则阻塞式等待生产者一段时间。 * 如果是等待依赖的其它消费...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/TimeoutBlockingWaitStrategy.java
src/main/java/com/lmax/disruptor/TimeoutBlockingWaitStrategy.java
package com.lmax.disruptor; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * 如果生产者生产速率不够,则阻塞式等待生产者一段时间。 * 如果是等待依赖的其它消费者,则轮询式等待。 * * 通过lock等待【生产者】发布数据,可以达到较低的cpu开销。 * 注意:有坑!Disruptor框架...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/BatchEventProcessor.java
src/main/java/com/lmax/disruptor/BatchEventProcessor.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/SequenceBarrier.java
src/main/java/com/lmax/disruptor/SequenceBarrier.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventFactory.java
src/main/java/com/lmax/disruptor/EventFactory.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/Sequence.java
src/main/java/com/lmax/disruptor/Sequence.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/TimeoutException.java
src/main/java/com/lmax/disruptor/TimeoutException.java
package com.lmax.disruptor; @SuppressWarnings("serial") public final class TimeoutException extends Exception { public static final TimeoutException INSTANCE = new TimeoutException(); private TimeoutException() { // Singleton } @Override public synchronized Throwable fillInStackTrace(...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/WorkHandler.java
src/main/java/com/lmax/disruptor/WorkHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventReleaser.java
src/main/java/com/lmax/disruptor/EventReleaser.java
/* * Copyright 2013 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/TimeoutHandler.java
src/main/java/com/lmax/disruptor/TimeoutHandler.java
package com.lmax.disruptor; public interface TimeoutHandler { void onTimeout(long sequence) throws Exception; }
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/BlockingWaitStrategy.java
src/main/java/com/lmax/disruptor/BlockingWaitStrategy.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/Sequencer.java
src/main/java/com/lmax/disruptor/Sequencer.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/NoOpEventProcessor.java
src/main/java/com/lmax/disruptor/NoOpEventProcessor.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/Sequenced.java
src/main/java/com/lmax/disruptor/Sequenced.java
package com.lmax.disruptor; /** * 该接口是面向生产者的,生产者通过该接口获取队列容量,和可用空间,并在填充数据之后,发布对应的sequence(这些sequence对应的数据已可消费)。 * <P> * 申请空间之后,必须使用对应的发布方法,发布数据(表示这些空间的数据已经可用) * {@link #next()} {@link #tryNext()} ---> {@link #publish(long)} * {@link #next(int)} {@link #tryNext(int)} ---> {@link #publish(long, long)} * 否则会因为数据结构出现...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/SequenceGroup.java
src/main/java/com/lmax/disruptor/SequenceGroup.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/PhasedBackoffWaitStrategy.java
src/main/java/com/lmax/disruptor/PhasedBackoffWaitStrategy.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/AbstractSequencer.java
src/main/java/com/lmax/disruptor/AbstractSequencer.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/SleepingWaitStrategy.java
src/main/java/com/lmax/disruptor/SleepingWaitStrategy.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/BusySpinWaitStrategy.java
src/main/java/com/lmax/disruptor/BusySpinWaitStrategy.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventReleaseAware.java
src/main/java/com/lmax/disruptor/EventReleaseAware.java
/* * Copyright 2013 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/LifecycleAware.java
src/main/java/com/lmax/disruptor/LifecycleAware.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/SingleProducerSequencer.java
src/main/java/com/lmax/disruptor/SingleProducerSequencer.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventTranslatorOneArg.java
src/main/java/com/lmax/disruptor/EventTranslatorOneArg.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/DataProvider.java
src/main/java/com/lmax/disruptor/DataProvider.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventTranslatorThreeArg.java
src/main/java/com/lmax/disruptor/EventTranslatorThreeArg.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/SequenceGroups.java
src/main/java/com/lmax/disruptor/SequenceGroups.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/InsufficientCapacityException.java
src/main/java/com/lmax/disruptor/InsufficientCapacityException.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventTranslatorTwoArg.java
src/main/java/com/lmax/disruptor/EventTranslatorTwoArg.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/ProcessingSequenceBarrier.java
src/main/java/com/lmax/disruptor/ProcessingSequenceBarrier.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/AlertException.java
src/main/java/com/lmax/disruptor/AlertException.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventPoller.java
src/main/java/com/lmax/disruptor/EventPoller.java
package com.lmax.disruptor; /** * 事件轮询器(没详细的研究,感觉它不是很重要) * Experimental poll-based interface for the Disruptor. */ public class EventPoller<T> { /** * 数据提供者 RingBuffer */ private final DataProvider<T> dataProvider; /** * 序号生成器(来源于Sequencer) */ private final Sequencer sequencer; ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/MultiProducerSequencer.java
src/main/java/com/lmax/disruptor/MultiProducerSequencer.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventHandler.java
src/main/java/com/lmax/disruptor/EventHandler.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/EventTranslator.java
src/main/java/com/lmax/disruptor/EventTranslator.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/RingBuffer.java
src/main/java/com/lmax/disruptor/RingBuffer.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
true
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/FixedSequenceGroup.java
src/main/java/com/lmax/disruptor/FixedSequenceGroup.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/util/ThreadHints.java
src/main/java/com/lmax/disruptor/util/ThreadHints.java
/* Copyright 2016 Gil Tene * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/util/Util.java
src/main/java/com/lmax/disruptor/util/Util.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/util/DaemonThreadFactory.java
src/main/java/com/lmax/disruptor/util/DaemonThreadFactory.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/dsl/EventHandlerGroup.java
src/main/java/com/lmax/disruptor/dsl/EventHandlerGroup.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/dsl/ConsumerRepository.java
src/main/java/com/lmax/disruptor/dsl/ConsumerRepository.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/dsl/ExceptionHandlerWrapper.java
src/main/java/com/lmax/disruptor/dsl/ExceptionHandlerWrapper.java
package com.lmax.disruptor.dsl; import com.lmax.disruptor.ExceptionHandler; import com.lmax.disruptor.FatalExceptionHandler; /** * 异常处理器的包装对象 * @param <T> */ public class ExceptionHandlerWrapper<T> implements ExceptionHandler<T> { private ExceptionHandler<? super T> delegate = new FatalExceptionHandler(); ...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/dsl/ConsumerInfo.java
src/main/java/com/lmax/disruptor/dsl/ConsumerInfo.java
package com.lmax.disruptor.dsl; import com.lmax.disruptor.Sequence; import com.lmax.disruptor.SequenceBarrier; import java.util.concurrent.Executor; /** * 一个消费者信息的抽象, */ interface ConsumerInfo { /** * 获取消费者拥有的所有的序列,一个消费者可能有多个Sequence,消费者的消费进度由最小的Sequence决定。 * 这里返回数组类型,其实仅仅是为了避免{@link com.lmax.disrupt...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/dsl/BasicExecutor.java
src/main/java/com/lmax/disruptor/dsl/BasicExecutor.java
package com.lmax.disruptor.dsl; import com.lmax.disruptor.EventFactory; import com.lmax.disruptor.WaitStrategy; import java.lang.management.ManagementFactory; import java.lang.management.ThreadInfo; import java.lang.management.ThreadMXBean; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; im...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/dsl/EventProcessorFactory.java
src/main/java/com/lmax/disruptor/dsl/EventProcessorFactory.java
package com.lmax.disruptor.dsl; import com.lmax.disruptor.EventProcessor; import com.lmax.disruptor.RingBuffer; import com.lmax.disruptor.Sequence; /** * 事件处理器工厂 * A factory interface to make it possible to include custom event processors in a chain: * * <pre><code> * disruptor.handleEventsWith(handler1).then((r...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/dsl/Disruptor.java
src/main/java/com/lmax/disruptor/dsl/Disruptor.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/dsl/ProducerType.java
src/main/java/com/lmax/disruptor/dsl/ProducerType.java
/* * Copyright 2012 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false
hl845740757/disruptor-translation
https://github.com/hl845740757/disruptor-translation/blob/817173fe8cf290286f2caed5c88ee667862df84a/src/main/java/com/lmax/disruptor/dsl/ExceptionHandlerSetting.java
src/main/java/com/lmax/disruptor/dsl/ExceptionHandlerSetting.java
/* * Copyright 2011 LMAX Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
java
Apache-2.0
817173fe8cf290286f2caed5c88ee667862df84a
2026-01-05T02:37:00.962626Z
false