com.emc.mongoose.api.model.item.BasicPathItemFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mongoose-api-model Show documentation
Show all versions of mongoose-api-model Show documentation
Mongoose is a high-load storage performance testing tool
package com.emc.mongoose.api.model.item;
import java.io.IOException;
/**
Created by kurila on 30.01.17.
*/
public class BasicPathItemFactory
implements ItemFactory {
@Override
public I getItem(final String name, final long id, final long size) {
return (I) new BasicPathItem(name);
}
@Override
public I getItem(final String line) {
return (I) new BasicPathItem(line);
}
@Override
public Class getItemClass() {
return (Class) BasicPathItem.class;
}
@Override
public void close()
throws IOException {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy