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