diff --git a/src/main/java/com/lmax/disruptor/DependentSequence.java b/src/main/java/com/lmax/disruptor/DependentSequence.java index a8d19cd0e..8efbc83b4 100644 --- a/src/main/java/com/lmax/disruptor/DependentSequence.java +++ b/src/main/java/com/lmax/disruptor/DependentSequence.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; public class DependentSequence diff --git a/src/main/java/com/lmax/disruptor/FixedSequenceGroup.java b/src/main/java/com/lmax/disruptor/FixedSequenceGroup.java index 8ceafea42..d7f9e7292 100644 --- a/src/main/java/com/lmax/disruptor/FixedSequenceGroup.java +++ b/src/main/java/com/lmax/disruptor/FixedSequenceGroup.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import java.util.Arrays; diff --git a/src/main/java/com/lmax/disruptor/InsufficientCapacityException.java b/src/main/java/com/lmax/disruptor/InsufficientCapacityException.java index b6e05a304..fab97d213 100644 --- a/src/main/java/com/lmax/disruptor/InsufficientCapacityException.java +++ b/src/main/java/com/lmax/disruptor/InsufficientCapacityException.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; @SuppressWarnings("serial") diff --git a/src/main/java/com/lmax/disruptor/MultiProducerPublisher.java b/src/main/java/com/lmax/disruptor/MultiProducerPublisher.java index 187c6cdfe..1ecaab0ad 100644 --- a/src/main/java/com/lmax/disruptor/MultiProducerPublisher.java +++ b/src/main/java/com/lmax/disruptor/MultiProducerPublisher.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import sun.misc.Unsafe; diff --git a/src/main/java/com/lmax/disruptor/Publisher.java b/src/main/java/com/lmax/disruptor/Publisher.java index 405e59c92..21eb6213d 100644 --- a/src/main/java/com/lmax/disruptor/Publisher.java +++ b/src/main/java/com/lmax/disruptor/Publisher.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; interface Publisher diff --git a/src/main/java/com/lmax/disruptor/ReferencePublisher.java b/src/main/java/com/lmax/disruptor/ReferencePublisher.java index e272ff5fa..d99ed2150 100644 --- a/src/main/java/com/lmax/disruptor/ReferencePublisher.java +++ b/src/main/java/com/lmax/disruptor/ReferencePublisher.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; public interface ReferencePublisher diff --git a/src/main/java/com/lmax/disruptor/RingBuffer.java b/src/main/java/com/lmax/disruptor/RingBuffer.java index 8c29069bc..489707417 100644 --- a/src/main/java/com/lmax/disruptor/RingBuffer.java +++ b/src/main/java/com/lmax/disruptor/RingBuffer.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; public interface RingBuffer diff --git a/src/main/java/com/lmax/disruptor/Sequencer.java b/src/main/java/com/lmax/disruptor/Sequencer.java index 67de3e11b..ce8db9561 100644 --- a/src/main/java/com/lmax/disruptor/Sequencer.java +++ b/src/main/java/com/lmax/disruptor/Sequencer.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; interface Sequencer diff --git a/src/main/java/com/lmax/disruptor/SingleProducerPublisher.java b/src/main/java/com/lmax/disruptor/SingleProducerPublisher.java index bd6f6e100..1de179467 100644 --- a/src/main/java/com/lmax/disruptor/SingleProducerPublisher.java +++ b/src/main/java/com/lmax/disruptor/SingleProducerPublisher.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; class SingleProducerPublisher implements Publisher diff --git a/src/main/java/com/lmax/disruptor/dsl/ProducerType.java b/src/main/java/com/lmax/disruptor/dsl/ProducerType.java index 267b87ac3..c1ff5c925 100644 --- a/src/main/java/com/lmax/disruptor/dsl/ProducerType.java +++ b/src/main/java/com/lmax/disruptor/dsl/ProducerType.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor.dsl; diff --git a/src/test/java/com/lmax/disruptor/BusySpinWaitStrategyTest.java b/src/test/java/com/lmax/disruptor/BusySpinWaitStrategyTest.java index ada0ea743..d17379e92 100644 --- a/src/test/java/com/lmax/disruptor/BusySpinWaitStrategyTest.java +++ b/src/test/java/com/lmax/disruptor/BusySpinWaitStrategyTest.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import static com.lmax.disruptor.WaitStrategyTestUtil.assertWaitForWithDelayOf; diff --git a/src/test/java/com/lmax/disruptor/DummySequenceBarrier.java b/src/test/java/com/lmax/disruptor/DummySequenceBarrier.java index 67c84335d..5a6326c77 100644 --- a/src/test/java/com/lmax/disruptor/DummySequenceBarrier.java +++ b/src/test/java/com/lmax/disruptor/DummySequenceBarrier.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; diff --git a/src/test/java/com/lmax/disruptor/FixedSequenceGroupTest.java b/src/test/java/com/lmax/disruptor/FixedSequenceGroupTest.java index 7469673e6..841b25cb5 100644 --- a/src/test/java/com/lmax/disruptor/FixedSequenceGroupTest.java +++ b/src/test/java/com/lmax/disruptor/FixedSequenceGroupTest.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import static org.hamcrest.CoreMatchers.is; diff --git a/src/test/java/com/lmax/disruptor/MultiProducerOffHeapRingBufferTest.java b/src/test/java/com/lmax/disruptor/MultiProducerOffHeapRingBufferTest.java index 3da364b01..9db3328fa 100644 --- a/src/test/java/com/lmax/disruptor/MultiProducerOffHeapRingBufferTest.java +++ b/src/test/java/com/lmax/disruptor/MultiProducerOffHeapRingBufferTest.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import static org.hamcrest.CoreMatchers.is; diff --git a/src/test/java/com/lmax/disruptor/MultiProducerPublisherTest.java b/src/test/java/com/lmax/disruptor/MultiProducerPublisherTest.java index 3d6a39b9e..a840b6d05 100644 --- a/src/test/java/com/lmax/disruptor/MultiProducerPublisherTest.java +++ b/src/test/java/com/lmax/disruptor/MultiProducerPublisherTest.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import static org.hamcrest.CoreMatchers.is; diff --git a/src/test/java/com/lmax/disruptor/PhasedBackoffWaitStrategyTest.java b/src/test/java/com/lmax/disruptor/PhasedBackoffWaitStrategyTest.java index 151fcb8da..12b8e0cdb 100644 --- a/src/test/java/com/lmax/disruptor/PhasedBackoffWaitStrategyTest.java +++ b/src/test/java/com/lmax/disruptor/PhasedBackoffWaitStrategyTest.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import static com.lmax.disruptor.WaitStrategyTestUtil.assertWaitForWithDelayOf; diff --git a/src/test/java/com/lmax/disruptor/SequenceUpdater.java b/src/test/java/com/lmax/disruptor/SequenceUpdater.java index 80cc89bdc..d9998837d 100644 --- a/src/test/java/com/lmax/disruptor/SequenceUpdater.java +++ b/src/test/java/com/lmax/disruptor/SequenceUpdater.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import java.util.concurrent.BrokenBarrierException; diff --git a/src/test/java/com/lmax/disruptor/SingleProducerPublisherTest.java b/src/test/java/com/lmax/disruptor/SingleProducerPublisherTest.java index 43cc6c911..da58f3ebe 100644 --- a/src/test/java/com/lmax/disruptor/SingleProducerPublisherTest.java +++ b/src/test/java/com/lmax/disruptor/SingleProducerPublisherTest.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import static org.hamcrest.CoreMatchers.is; diff --git a/src/test/java/com/lmax/disruptor/SleepingWaitStrategyTest.java b/src/test/java/com/lmax/disruptor/SleepingWaitStrategyTest.java index 30f5eeb80..64e326a32 100644 --- a/src/test/java/com/lmax/disruptor/SleepingWaitStrategyTest.java +++ b/src/test/java/com/lmax/disruptor/SleepingWaitStrategyTest.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import static com.lmax.disruptor.WaitStrategyTestUtil.assertWaitForWithDelayOf; diff --git a/src/test/java/com/lmax/disruptor/WaitStrategyTestUtil.java b/src/test/java/com/lmax/disruptor/WaitStrategyTestUtil.java index 81031d6cd..7a2d437ca 100644 --- a/src/test/java/com/lmax/disruptor/WaitStrategyTestUtil.java +++ b/src/test/java/com/lmax/disruptor/WaitStrategyTestUtil.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import static org.hamcrest.CoreMatchers.is; diff --git a/src/test/java/com/lmax/disruptor/YieldingWaitStrategyTest.java b/src/test/java/com/lmax/disruptor/YieldingWaitStrategyTest.java index 5ae321a0e..ad2d0c66f 100644 --- a/src/test/java/com/lmax/disruptor/YieldingWaitStrategyTest.java +++ b/src/test/java/com/lmax/disruptor/YieldingWaitStrategyTest.java @@ -1,3 +1,18 @@ +/* + * 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 writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.lmax.disruptor; import static com.lmax.disruptor.WaitStrategyTestUtil.assertWaitForWithDelayOf;