com.emc.mongoose.base.item.DataItemFactoryImpl 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 21.09.16. */
public class DataItemFactoryImpl extends ItemFactoryImpl
implements DataItemFactory {
@Override
public I getItem(final String name, final long id, final long size) {
return (I) new DataItemImpl(name, id, size);
}
@Override
public I getItem(final String line) {
return (I) new DataItemImpl(line);
}
@Override
public Class getItemClass() {
return (Class) DataItemImpl.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy