curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-314) Listenable support for GroupMember recipe
Date Sun, 08 May 2016 19:03:12 GMT

    [ https://issues.apache.org/jira/browse/CURATOR-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15275677#comment-15275677
] 

ASF GitHub Bot commented on CURATOR-314:
----------------------------------------

Github user Randgalt commented on a diff in the pull request:

    https://github.com/apache/curator/pull/141#discussion_r62436669
  
    --- Diff: curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/GroupMemberEvent.java
---
    @@ -0,0 +1,75 @@
    +/**
    + * 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.framework.recipes.nodes;
    +
    +/**
    + * POJO that abstracts a change to a group membership
    + */
    +public class GroupMemberEvent
    --- End diff --
    
    PathChildrenCacheEvent or TreeCacheEvent can be used, right? I'm leery expanded the number
of event objects.


> Listenable support for GroupMember recipe
> -----------------------------------------
>
>                 Key: CURATOR-314
>                 URL: https://issues.apache.org/jira/browse/CURATOR-314
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Recipes
>            Reporter: Shivram Khandeparker
>
> The GroupMember recipe currently doesn't provide any membership change events. I wanted
this feature in my project and I've implemented it by making a copy of GroupMember in my project
and adding the necessary classes and interfaces. I wanted to contribute this back to curator



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message