From 737fa28d5b2b73ab15472add847f4f378e90a2c0 Mon Sep 17 00:00:00 2001 From: Bruce Robbins Date: Sun, 25 Sep 2011 15:16:32 -0700 Subject: [PATCH] Version number; Add copyright to new files --- build.gradle | 2 +- .../partitioner/LoopbackPartitioner.java | 15 +++++++++++++++ .../main/java/io/s4/ft/CheckpointingEvent.java | 15 +++++++++++++++ .../io/s4/ft/DefaultFileSystemStateStorage.java | 15 +++++++++++++++ .../java/io/s4/ft/InitiateCheckpointingEvent.java | 15 +++++++++++++++ .../io/s4/ft/LoggingStorageCallbackFactory.java | 15 +++++++++++++++ s4-core/src/main/java/io/s4/ft/RecoveryEvent.java | 15 +++++++++++++++ .../src/main/java/io/s4/ft/RedisStateStorage.java | 15 +++++++++++++++ s4-core/src/main/java/io/s4/ft/SafeKeeper.java | 15 +++++++++++++++ s4-core/src/main/java/io/s4/ft/SafeKeeperId.java | 15 +++++++++++++++ s4-core/src/main/java/io/s4/ft/SaveStateTask.java | 15 +++++++++++++++ s4-core/src/main/java/io/s4/ft/StateStorage.java | 15 +++++++++++++++ .../src/main/java/io/s4/ft/StorageCallback.java | 15 +++++++++++++++ .../java/io/s4/ft/StorageCallbackFactory.java | 15 +++++++++++++++ 14 files changed, 196 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 045031e..0545c8d 100644 --- a/build.gradle +++ b/build.gradle @@ -46,7 +46,7 @@ platformProjects = [project(':s4-core'), project(':s4-comm'), project(':s4-drive allprojects { - version = new Version(major: 0, minor: 3, bugfix: 0) + version = new Version(major: 0, minor: 4, bugfix: 0, releaseType: 'SNAPSHOT') archivesBaseName = 's4' diff --git a/s4-core/src/main/java/io/s4/dispatcher/partitioner/LoopbackPartitioner.java b/s4-core/src/main/java/io/s4/dispatcher/partitioner/LoopbackPartitioner.java index c323fd9..cdb6b15 100644 --- a/s4-core/src/main/java/io/s4/dispatcher/partitioner/LoopbackPartitioner.java +++ b/s4-core/src/main/java/io/s4/dispatcher/partitioner/LoopbackPartitioner.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.dispatcher.partitioner; import io.s4.emitter.CommLayerEmitter; diff --git a/s4-core/src/main/java/io/s4/ft/CheckpointingEvent.java b/s4-core/src/main/java/io/s4/ft/CheckpointingEvent.java index 07f74c6..299a7dc 100644 --- a/s4-core/src/main/java/io/s4/ft/CheckpointingEvent.java +++ b/s4-core/src/main/java/io/s4/ft/CheckpointingEvent.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; /** diff --git a/s4-core/src/main/java/io/s4/ft/DefaultFileSystemStateStorage.java b/s4-core/src/main/java/io/s4/ft/DefaultFileSystemStateStorage.java index 969fa2a..52fd4a5 100644 --- a/s4-core/src/main/java/io/s4/ft/DefaultFileSystemStateStorage.java +++ b/s4-core/src/main/java/io/s4/ft/DefaultFileSystemStateStorage.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; import java.io.File; diff --git a/s4-core/src/main/java/io/s4/ft/InitiateCheckpointingEvent.java b/s4-core/src/main/java/io/s4/ft/InitiateCheckpointingEvent.java index c2e2fc7..13270d9 100644 --- a/s4-core/src/main/java/io/s4/ft/InitiateCheckpointingEvent.java +++ b/s4-core/src/main/java/io/s4/ft/InitiateCheckpointingEvent.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; /** diff --git a/s4-core/src/main/java/io/s4/ft/LoggingStorageCallbackFactory.java b/s4-core/src/main/java/io/s4/ft/LoggingStorageCallbackFactory.java index f1ef222..b7d5128 100644 --- a/s4-core/src/main/java/io/s4/ft/LoggingStorageCallbackFactory.java +++ b/s4-core/src/main/java/io/s4/ft/LoggingStorageCallbackFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; import io.s4.ft.SafeKeeper.StorageResultCode; diff --git a/s4-core/src/main/java/io/s4/ft/RecoveryEvent.java b/s4-core/src/main/java/io/s4/ft/RecoveryEvent.java index a551c2e..4481ca3 100644 --- a/s4-core/src/main/java/io/s4/ft/RecoveryEvent.java +++ b/s4-core/src/main/java/io/s4/ft/RecoveryEvent.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; /** diff --git a/s4-core/src/main/java/io/s4/ft/RedisStateStorage.java b/s4-core/src/main/java/io/s4/ft/RedisStateStorage.java index 16ab64a..bbdf272 100644 --- a/s4-core/src/main/java/io/s4/ft/RedisStateStorage.java +++ b/s4-core/src/main/java/io/s4/ft/RedisStateStorage.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; import io.s4.ft.SafeKeeper.StorageResultCode; diff --git a/s4-core/src/main/java/io/s4/ft/SafeKeeper.java b/s4-core/src/main/java/io/s4/ft/SafeKeeper.java index 7a4e7e0..fb8c605 100644 --- a/s4-core/src/main/java/io/s4/ft/SafeKeeper.java +++ b/s4-core/src/main/java/io/s4/ft/SafeKeeper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; import io.s4.dispatcher.Dispatcher; diff --git a/s4-core/src/main/java/io/s4/ft/SafeKeeperId.java b/s4-core/src/main/java/io/s4/ft/SafeKeeperId.java index f9a231e..df1f2d7 100644 --- a/s4-core/src/main/java/io/s4/ft/SafeKeeperId.java +++ b/s4-core/src/main/java/io/s4/ft/SafeKeeperId.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; import java.util.regex.Matcher; diff --git a/s4-core/src/main/java/io/s4/ft/SaveStateTask.java b/s4-core/src/main/java/io/s4/ft/SaveStateTask.java index cfa2416..23c6c38 100644 --- a/s4-core/src/main/java/io/s4/ft/SaveStateTask.java +++ b/s4-core/src/main/java/io/s4/ft/SaveStateTask.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; diff --git a/s4-core/src/main/java/io/s4/ft/StateStorage.java b/s4-core/src/main/java/io/s4/ft/StateStorage.java index e1f54a2..52a0a46 100644 --- a/s4-core/src/main/java/io/s4/ft/StateStorage.java +++ b/s4-core/src/main/java/io/s4/ft/StateStorage.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; import java.util.Set; diff --git a/s4-core/src/main/java/io/s4/ft/StorageCallback.java b/s4-core/src/main/java/io/s4/ft/StorageCallback.java index ae41643..67b7235 100644 --- a/s4-core/src/main/java/io/s4/ft/StorageCallback.java +++ b/s4-core/src/main/java/io/s4/ft/StorageCallback.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; /** diff --git a/s4-core/src/main/java/io/s4/ft/StorageCallbackFactory.java b/s4-core/src/main/java/io/s4/ft/StorageCallbackFactory.java index 3a47a1e..1e760d0 100644 --- a/s4-core/src/main/java/io/s4/ft/StorageCallbackFactory.java +++ b/s4-core/src/main/java/io/s4/ft/StorageCallbackFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2010 Yahoo! Inc. All rights reserved. + * + * 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. See accompanying LICENSE file. + */ package io.s4.ft; /**