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 long
getTotalSpace()
long
getUnallocatedSpace()
long
getUsableSpace()
java.lang.String
name()
void
setTotalSpace(long totalSpace)
Methods inherited from class org.apache.lucene.mockfile.FilterFileStore
getAttribute, getFileStoreAttributeView, isReadOnly, supportsFileAttributeView, supportsFileAttributeView, toString, type
Methods inherited from class java.nio.file.FileStore
getBlockSize
Methods 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:
name
in classorg.apache.lucene.mockfile.FilterFileStore
-
getTotalSpace
public long getTotalSpace() throws java.io.IOException- Overrides:
getTotalSpace
in classorg.apache.lucene.mockfile.FilterFileStore
- Throws:
java.io.IOException
-
setTotalSpace
public void setTotalSpace(long totalSpace) -
getUsableSpace
public long getUsableSpace() throws java.io.IOException- Overrides:
getUsableSpace
in classorg.apache.lucene.mockfile.FilterFileStore
- Throws:
java.io.IOException
-
getUnallocatedSpace
public long getUnallocatedSpace() throws java.io.IOException- Overrides:
getUnallocatedSpace
in classorg.apache.lucene.mockfile.FilterFileStore
- Throws:
java.io.IOException
-