Package org.elasticsearch.cluster
Class DiskUsageIntegTestCase.TestFileStore
java.lang.Object
java.nio.file.FileStore
org.apache.lucene.mockfile.FilterFileStore
org.elasticsearch.cluster.DiskUsageIntegTestCase.TestFileStore
- Enclosing class:
- DiskUsageIntegTestCase
protected static class DiskUsageIntegTestCase.TestFileStore
extends org.apache.lucene.mockfile.FilterFileStore
-
Field Summary
Fields inherited from class org.apache.lucene.mockfile.FilterFileStore
delegate, scheme -
Method Summary
Modifier and Type Method Description longgetTotalSpace()longgetUnallocatedSpace()longgetUsableSpace()java.lang.Stringname()voidsetTotalSpace(long totalSpace)Methods inherited from class org.apache.lucene.mockfile.FilterFileStore
getAttribute, getFileStoreAttributeView, isReadOnly, supportsFileAttributeView, supportsFileAttributeView, toString, typeMethods inherited from class java.nio.file.FileStore
getBlockSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Method Details
-
name
public java.lang.String name()- Overrides:
namein classorg.apache.lucene.mockfile.FilterFileStore
-
getTotalSpace
public long getTotalSpace() throws java.io.IOException- Overrides:
getTotalSpacein classorg.apache.lucene.mockfile.FilterFileStore- Throws:
java.io.IOException
-
setTotalSpace
public void setTotalSpace(long totalSpace) -
getUsableSpace
public long getUsableSpace() throws java.io.IOException- Overrides:
getUsableSpacein classorg.apache.lucene.mockfile.FilterFileStore- Throws:
java.io.IOException
-
getUnallocatedSpace
public long getUnallocatedSpace() throws java.io.IOException- Overrides:
getUnallocatedSpacein classorg.apache.lucene.mockfile.FilterFileStore- Throws:
java.io.IOException
-