Does FileChannel support concurrency

2019-06-17 Thread Johnson
hi,all: I have a question,Does FileChannel support concurrency。I looked at the source code for the filechannel,found that only one sink can get transaction at a time。But,I did a test,found five sink is faster than one sink ,so how to explains this result? Looking forward to your reply

Re:Does FileChannel support concurrency

2019-06-17 Thread Johnson
Anybody know that ?please help me At 2019-06-17 17:36:16, "Johnson" wrote: hi,all: I have a question,Does FileChannel support concurrency。I looked at the source code for the filechannel,found that only one sink can get transaction at a time。But,I did a test,found five sink is faster tha