Package alluxio.master.backcompat
Interface TestOp
-
- All Known Implementing Classes:
AsyncPersist,CreateDirectory,CreateFile,Delete,FsTestOp,Mount,PersistDirectory,PersistFile,Rename,SetAcl,UpdateUfsMode
public interface TestOpA test operation for use by the backwards compatibility test.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidapply(alluxio.multi.process.Clients clients)Applies the test operation.voidcheck(alluxio.multi.process.Clients clients)Verifies the result of the test operation.default booleansupportsVersion(Version version)
-
-
-
Method Detail
-
apply
void apply(alluxio.multi.process.Clients clients) throws java.lang.ExceptionApplies the test operation.- Parameters:
clients- Alluxio clients for performing the operation- Throws:
java.lang.Exception
-
check
void check(alluxio.multi.process.Clients clients) throws java.lang.ExceptionVerifies the result of the test operation.- Parameters:
clients- Alluxio clients for performing the verification- Throws:
java.lang.Exception
-
supportsVersion
default boolean supportsVersion(Version version)
- Parameters:
version- a version, e.g. 1.8.0, 1.9.0, etc- Returns:
- whether this operation is supported in the given version
-
-