activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuconic <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #1263: ARTEMIS-1156: FIX: Long Autoboxing occu...
Date Wed, 10 May 2017 19:16:42 GMT
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1263#discussion_r115828438
  
    --- Diff: artemis-journal/src/main/java/org/jctools/maps/NonBlockingHashSetLong.java ---
    @@ -0,0 +1,105 @@
    +/*
    + * 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/LICLongNSLong-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 WARRANTILongS 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.jctools.maps;
    +
    +import java.io.Serializable;
    +import java.util.AbstractSet;
    +import java.util.Iterator;
    +
    +/**
    + * A simple wrapper around {@link NonBlockingHashMapLong} making it implement the
    + * {@link java.util.Set} interface.  All operations are Non-Blocking and multi-thread
safe.
    + */
    +public class NonBlockingHashSetLong extends AbstractSet<Long> implements Serializable
{
    --- End diff --
    
    @michaelandrepearce would be ok to move this under utils, under an artemis package? just
in case.. I think that's more clear, especially with osgi usage.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message