com.emc.mongoose.api.model.item.BasicItemFactory 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 14.07.16.
*/
public class BasicItemFactory
implements ItemFactory {
@Override
public I getItem(final String name, final long id, final long size) {
return (I) new BasicItem(name);
}
@Override
public I getItem(final String line) {
return (I) new BasicItem(line);
}
@Override
public Class getItemClass() {
return (Class) BasicItem.class;
}
@Override
public void close()
throws IOException {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy