com.emc.mongoose.base.item.naming.ItemNameInput 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.naming;
import com.github.akurilov.commons.io.Input;
import java.util.List;
public interface ItemNameInput
extends Input {
long lastId();
enum ItemNamingType {
RANDOM, SERIAL
}
@Override
String get();
@Override
int get(final List buffer, final int limit);
interface Builder {
T type(final ItemNamingType type);
T radix(final int radix);
T prefix(final String prefix);
T length(final int length);
T seed(final long offset);
T step(final int step);
T build();
static T newInstance() {
return (T) new ItemNameInputBuilder();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy