public class FileChannelManagerImpl extends Object implements FileChannelManager
| 构造器和说明 |
|---|
FileChannelManagerImpl(String[] tempDirs,
String prefix) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Remove all the temp directories.
|
FileIOChannel.ID |
createChannel()
Creates an ID identifying an underlying file channel and returns it.
|
FileIOChannel.Enumerator |
createChannelEnumerator()
Creates an enumerator for channels that logically belong together and returns it.
|
File[] |
getPaths()
Gets all the files corresponding to the config temp dirs.
|
public FileIOChannel.ID createChannel()
FileChannelManagercreateChannel 在接口中 FileChannelManagerpublic FileIOChannel.Enumerator createChannelEnumerator()
FileChannelManagercreateChannelEnumerator 在接口中 FileChannelManagerpublic File[] getPaths()
FileChannelManagergetPaths 在接口中 FileChannelManagerpublic void close()
throws Exception
close 在接口中 AutoCloseableExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.