
com.spikeify.UserKeyGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Simple ORM for Aerospike
package com.spikeify;
/**
* Id generator to produce entity keys on create
*/
public interface UserKeyGenerator {
/**
* Generates string key of given length greater than 0
* @param length desired length of key greater than 0
* @return generated key
*/
String generateString(int length);
/**
* Generates long value of given length greater than 0
* @param length desired length of key greater than 0 (must consider max possible length of a long value)
* @return generated key
*/
long generateLong(int length);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy