public SeekableByteChannel newByteChannel( final Path path,
final Set<? extends OpenOption> options,
final FileAttribute<?>... attrs ) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, IOException, SecurityException {
final SeekableByteChannel sbc = service.newByteChannel( path, options, attrs );
return new SeekableByteChannelWrapperImpl( sbc ) {
@Override
public void close() throws java.io.IOException {
new FileSystemSyncLock<Void>( service.getId(), path.getFileSystem() ).execute( clusterService, new FutureTask<Void>( new Callable<Void>() {
@Override
public Void call() throws Exception {