[ 
https://issues.apache.org/jira/browse/FLINK-17534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liufangliang updated FLINK-17534:
---------------------------------
    Comment: was deleted

(was: Hi [~becket_qin],

can i pack this issue ?

the current constructor of `FutureCompletingBlockingQueue` is like this
{code:java}
public FutureCompletingBlockingQueue(FutureNotifier futureNotifier) {
   this.futureNotifier = futureNotifier;
}
{code}
 

I am going to add a constructor taking capacity as a parameter,for example:
{code:java}
private final static Integer DEFAULT_CAPACITY = 10000;

public FutureCompletingBlockingQueue(FutureNotifier futureNotifier) {
   this(futureNotifier, DEFAULT_CAPACITY);
}

public FutureCompletingBlockingQueue(FutureNotifier futureNotifier, int 
capacity) {
   super(capacity);
   this.futureNotifier = futureNotifier;
}
{code}
What do you think about ?

 
{code:java}
{code}
 )

> Update the interfaces to PublicEvolving and add documentation.
> --------------------------------------------------------------
>
>                 Key: FLINK-17534
>                 URL: https://issues.apache.org/jira/browse/FLINK-17534
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / Common
>            Reporter: Jiangjie Qin
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to