org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted Java Examples
The following examples show how to use
org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RoutedRequest.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted retain() { if (requestAsReferenceCounted.isPresent()) { requestAsReferenceCounted.get().retain(); } return this; }
Example #2
Source File: RoutedRequest.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted retain(int arg0) { if (requestAsReferenceCounted.isPresent()) { requestAsReferenceCounted.get().retain(arg0); } return this; }
Example #3
Source File: RoutedRequest.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted touch() { if (requestAsReferenceCounted.isPresent()) { ReferenceCountUtil.touch(requestAsReferenceCounted.get()); } return this; }
Example #4
Source File: RoutedRequest.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted touch(Object hint) { if (requestAsReferenceCounted.isPresent()) { ReferenceCountUtil.touch(requestAsReferenceCounted.get(), hint); } return this; }
Example #5
Source File: RoutedRequest.java From flink with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted retain() { if (requestAsReferenceCounted.isPresent()) { requestAsReferenceCounted.get().retain(); } return this; }
Example #6
Source File: RoutedRequest.java From flink with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted retain(int arg0) { if (requestAsReferenceCounted.isPresent()) { requestAsReferenceCounted.get().retain(arg0); } return this; }
Example #7
Source File: RoutedRequest.java From flink with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted touch() { if (requestAsReferenceCounted.isPresent()) { ReferenceCountUtil.touch(requestAsReferenceCounted.get()); } return this; }
Example #8
Source File: RoutedRequest.java From flink with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted touch(Object hint) { if (requestAsReferenceCounted.isPresent()) { ReferenceCountUtil.touch(requestAsReferenceCounted.get(), hint); } return this; }
Example #9
Source File: RoutedRequest.java From flink with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted retain() { if (requestAsReferenceCounted.isPresent()) { requestAsReferenceCounted.get().retain(); } return this; }
Example #10
Source File: RoutedRequest.java From flink with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted retain(int arg0) { if (requestAsReferenceCounted.isPresent()) { requestAsReferenceCounted.get().retain(arg0); } return this; }
Example #11
Source File: RoutedRequest.java From flink with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted touch() { if (requestAsReferenceCounted.isPresent()) { ReferenceCountUtil.touch(requestAsReferenceCounted.get()); } return this; }
Example #12
Source File: RoutedRequest.java From flink with Apache License 2.0 | 5 votes |
@Override public ReferenceCounted touch(Object hint) { if (requestAsReferenceCounted.isPresent()) { ReferenceCountUtil.touch(requestAsReferenceCounted.get(), hint); } return this; }
Example #13
Source File: RoutedRequest.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
public RoutedRequest(RouteResult<T> result, HttpRequest request) { this.result = checkNotNull(result); this.request = checkNotNull(request); this.requestAsReferenceCounted = Optional.ofNullable((request instanceof ReferenceCounted) ? (ReferenceCounted) request : null); this.queryStringDecoder = new QueryStringDecoder(request.uri()); }
Example #14
Source File: RoutedRequest.java From flink with Apache License 2.0 | 4 votes |
public RoutedRequest(RouteResult<T> result, HttpRequest request) { this.result = checkNotNull(result); this.request = checkNotNull(request); this.requestAsReferenceCounted = Optional.ofNullable((request instanceof ReferenceCounted) ? (ReferenceCounted) request : null); this.queryStringDecoder = new QueryStringDecoder(request.uri()); }
Example #15
Source File: RoutedRequest.java From flink with Apache License 2.0 | 4 votes |
public RoutedRequest(RouteResult<T> result, HttpRequest request) { this.result = checkNotNull(result); this.request = checkNotNull(request); this.requestAsReferenceCounted = Optional.ofNullable((request instanceof ReferenceCounted) ? (ReferenceCounted) request : null); this.queryStringDecoder = new QueryStringDecoder(request.uri()); }