com.emc.mongoose.api.model.item.BasicDataItemFactory 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;
/**
Created by kurila on 21.09.16.
*/
public class BasicDataItemFactory
extends BasicItemFactory
implements DataItemFactory {
@Override
public I getItem(final String name, final long id, final long size) {
return (I) new BasicDataItem(name, id, size);
}
@Override
public I getItem(final String line) {
return (I) new BasicDataItem(line);
}
@Override
public Class getItemClass() {
return (Class) BasicDataItem.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy