Repository: curator Updated Branches: refs/heads/CURATOR-88 2b2e78582 -> 95b8e77e9
license headers Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/9d34d3d8 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/9d34d3d8 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/9d34d3d8 Branch: refs/heads/CURATOR-88 Commit: 9d34d3d8295a31e4fcd2dbfab9db72c3f9516b85 Parents: 2b2e785 Author: randgalt <randg...@apache.org> Authored: Sat Feb 15 11:49:10 2014 -0500 Committer: randgalt <randg...@apache.org> Committed: Sat Feb 15 11:49:10 2014 -0500 ---------------------------------------------------------------------- .../apache/curator/x/rest/CuratorRestClasses.java | 18 ++++++++++++++++++ .../apache/curator/x/rest/CuratorRestContext.java | 18 ++++++++++++++++++ .../apache/curator/x/rest/api/ClientResource.java | 18 ++++++++++++++++++ .../org/apache/curator/x/rest/api/Constants.java | 18 ++++++++++++++++++ .../apache/curator/x/rest/api/LeaderResource.java | 18 ++++++++++++++++++ .../apache/curator/x/rest/api/LockResource.java | 18 ++++++++++++++++++ .../curator/x/rest/api/NodeCacheResource.java | 18 ++++++++++++++++++ .../x/rest/api/PathChildrenCacheResource.java | 18 ++++++++++++++++++ .../rest/api/PersistentEphemeralNodeResource.java | 18 ++++++++++++++++++ .../curator/x/rest/api/ReadWriteLockResource.java | 18 ++++++++++++++++++ .../x/rest/api/RestBackgroundCallback.java | 18 ++++++++++++++++++ .../apache/curator/x/rest/api/RestWatcher.java | 18 ++++++++++++++++++ .../curator/x/rest/api/SemaphoreResource.java | 18 ++++++++++++++++++ .../curator/x/rest/api/SessionResource.java | 18 ++++++++++++++++++ .../org/apache/curator/x/rest/details/Closer.java | 18 ++++++++++++++++++ .../apache/curator/x/rest/details/Session.java | 18 ++++++++++++++++++ .../curator/x/rest/details/SessionManager.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/CreateSpec.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/DeleteSpec.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/ExistsSpec.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/GetChildrenSpec.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/GetDataSpec.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/LeaderSpec.java | 18 ++++++++++++++++++ .../apache/curator/x/rest/entities/LockSpec.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/NodeCacheSpec.java | 18 ++++++++++++++++++ .../apache/curator/x/rest/entities/NodeData.java | 18 ++++++++++++++++++ .../x/rest/entities/PathChildrenCacheSpec.java | 18 ++++++++++++++++++ .../entities/PersistentEphemeralNodeSpec.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/SemaphoreSpec.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/SetDataSpec.java | 18 ++++++++++++++++++ .../curator/x/rest/entities/StatusMessage.java | 18 ++++++++++++++++++ 31 files changed, 558 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestClasses.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestClasses.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestClasses.java index 5b56b46..768b649 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestClasses.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestClasses.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest; import com.google.common.collect.ImmutableList; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestContext.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestContext.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestContext.java index ba33fe6..baea57e 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestContext.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/CuratorRestContext.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest; import com.google.common.base.Preconditions; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ClientResource.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ClientResource.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ClientResource.java index bee1b6f..8d3486d 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ClientResource.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ClientResource.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import com.google.common.base.Joiner; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/Constants.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/Constants.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/Constants.java index 8d21a0f..378ef65 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/Constants.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/Constants.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.framework.recipes.cache.ChildData; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LeaderResource.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LeaderResource.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LeaderResource.java index be41246..338b744 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LeaderResource.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LeaderResource.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.framework.recipes.leader.LeaderLatch; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LockResource.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LockResource.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LockResource.java index 0e59844..f38468f 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LockResource.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/LockResource.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.framework.recipes.locks.InterProcessSemaphoreMutex; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/NodeCacheResource.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/NodeCacheResource.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/NodeCacheResource.java index fa46548..a93f725 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/NodeCacheResource.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/NodeCacheResource.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.framework.recipes.cache.NodeCache; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PathChildrenCacheResource.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PathChildrenCacheResource.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PathChildrenCacheResource.java index f118d55..704782d 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PathChildrenCacheResource.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PathChildrenCacheResource.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.framework.CuratorFramework; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PersistentEphemeralNodeResource.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PersistentEphemeralNodeResource.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PersistentEphemeralNodeResource.java index 165d373..a272476 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PersistentEphemeralNodeResource.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/PersistentEphemeralNodeResource.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ReadWriteLockResource.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ReadWriteLockResource.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ReadWriteLockResource.java index 28634d5..9bf9649 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ReadWriteLockResource.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/ReadWriteLockResource.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.framework.recipes.locks.InterProcessMutex; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestBackgroundCallback.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestBackgroundCallback.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestBackgroundCallback.java index 364b0b8..5b65b30 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestBackgroundCallback.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestBackgroundCallback.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.framework.CuratorFramework; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestWatcher.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestWatcher.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestWatcher.java index 4f76227..29a34db 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestWatcher.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/RestWatcher.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.x.rest.CuratorRestContext; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SemaphoreResource.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SemaphoreResource.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SemaphoreResource.java index 9e02d8a..779e628 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SemaphoreResource.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SemaphoreResource.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import com.google.common.collect.Lists; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SessionResource.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SessionResource.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SessionResource.java index 1877177..bde36e9 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SessionResource.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/api/SessionResource.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.api; import org.apache.curator.x.rest.CuratorRestContext; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Closer.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Closer.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Closer.java index 0436975..7c349f4 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Closer.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Closer.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.details; public interface Closer<T> http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Session.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Session.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Session.java index 9fe1403..612bf58 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Session.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/Session.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.details; import com.google.common.collect.Maps; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/SessionManager.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/SessionManager.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/SessionManager.java index 619bce8..2accdd9 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/SessionManager.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/details/SessionManager.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.details; import com.google.common.collect.Maps; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/CreateSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/CreateSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/CreateSpec.java index 6a52862..83e5a9e 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/CreateSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/CreateSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import org.apache.zookeeper.CreateMode; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/DeleteSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/DeleteSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/DeleteSpec.java index 322d3de..6cb5787 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/DeleteSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/DeleteSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import javax.xml.bind.annotation.XmlRootElement; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/ExistsSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/ExistsSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/ExistsSpec.java index 74905d8..16e2bd4 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/ExistsSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/ExistsSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import javax.xml.bind.annotation.XmlRootElement; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetChildrenSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetChildrenSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetChildrenSpec.java index 1f5c46b..6c8ab18 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetChildrenSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetChildrenSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import javax.xml.bind.annotation.XmlRootElement; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetDataSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetDataSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetDataSpec.java index d90a01a..d4a1aca 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetDataSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/GetDataSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import javax.xml.bind.annotation.XmlRootElement; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LeaderSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LeaderSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LeaderSpec.java index 734ee53..ad7fa90 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LeaderSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LeaderSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; public class LeaderSpec http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LockSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LockSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LockSpec.java index 76e8e9d..612741d 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LockSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/LockSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import javax.xml.bind.annotation.XmlRootElement; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeCacheSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeCacheSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeCacheSpec.java index f499bb5..07c197f 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeCacheSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeCacheSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import org.apache.curator.framework.recipes.cache.PathChildrenCache; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeData.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeData.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeData.java index 59a3cb8..8326165 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeData.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/NodeData.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import org.apache.zookeeper.data.Stat; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PathChildrenCacheSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PathChildrenCacheSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PathChildrenCacheSpec.java index 076f2cb..1da5fbe 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PathChildrenCacheSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PathChildrenCacheSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import org.apache.curator.framework.recipes.cache.PathChildrenCache; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PersistentEphemeralNodeSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PersistentEphemeralNodeSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PersistentEphemeralNodeSpec.java index 1c26df8..691e77c 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PersistentEphemeralNodeSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/PersistentEphemeralNodeSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SemaphoreSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SemaphoreSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SemaphoreSpec.java index b177f35..70f120c 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SemaphoreSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SemaphoreSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import javax.xml.bind.annotation.XmlRootElement; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SetDataSpec.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SetDataSpec.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SetDataSpec.java index faa83a9..014e2a5 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SetDataSpec.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/SetDataSpec.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import javax.xml.bind.annotation.XmlRootElement; http://git-wip-us.apache.org/repos/asf/curator/blob/9d34d3d8/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/StatusMessage.java ---------------------------------------------------------------------- diff --git a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/StatusMessage.java b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/StatusMessage.java index 9171f94..d6f3944 100644 --- a/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/StatusMessage.java +++ b/curator-x-rest/src/main/java/org/apache/curator/x/rest/entities/StatusMessage.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.curator.x.rest.entities; import javax.xml.bind.annotation.XmlRootElement;