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
-
Method Summary
Modifier and Type Method Description long
getTotalSpace()
long
getUnallocatedSpace()
long
getUsableSpace()
java.lang.String
name()
void
setTotalSpace(long totalSpace)
-
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
-