Skip to content

Commit

Permalink
Merge pull request #2029 from Cousjava/javadoc-threadlocalpool
Browse files Browse the repository at this point in the history
Added javadoc comments to explain ThreadLocalPool and some others
  • Loading branch information
arjantijms authored Mar 25, 2019
2 parents 107a650 + 1771a49 commit d1c4b52
Show file tree
Hide file tree
Showing 31 changed files with 307 additions and 249 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012, 2017 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018 Payara Services Ltd.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -163,7 +164,7 @@ public Connection<?> bind(final String host, final PortRange portRange,
/**
* This operation is not supported by implementations of {@link AbstractBindingHandler}.
*
* @throws UnsupportedOperationException
* @throws UnsupportedOperationException by default
*/
@Override
public final void unbindAll() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2008, 2017 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018 Payara Services Ltd.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -140,6 +141,7 @@ public void addMonitoringProbe(ConnectionProbe probe) {
* Remove the {@link ConnectionProbe}.
*
* @param probe the {@link ConnectionProbe}.
* @return true if probe was in the list and is now removed
*/
public boolean removeMonitoringProbe(ConnectionProbe probe) {
return probes.remove(probe);
Expand Down Expand Up @@ -190,7 +192,7 @@ protected void onComplete() {
/**
* Builder
*
* @param <E>
* @param <E> itself
*/
@SuppressWarnings("unchecked")
public abstract static class Builder<E extends Builder> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ public void setAttributeBuilder(AttributeBuilder attributeBuilder) {
/**
* Close the connection, managed by Transport
*
* @param connection
* @throws IOException
* @param connection {@link org.glassfish.grizzly.nio.NIOConnection} to close
* @throws IOException not used
*/
protected abstract void closeConnection(Connection connection) throws IOException;

Expand Down
Loading

0 comments on commit d1c4b52

Please sign in to comment.