Alachisoft.NCache.Common.DataStructures.DistributionMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
package Alachisoft.NCache.Common.DataStructures;
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
//#if !EXPRESS || (EXPRESS && PROFESSIONAL)
//#else
//#endif
public enum DistributionMode {
OptimalTime,
OptimalWeight,
AvgWeightTime,
ShuffleBuckets,
Manual;
public static DistributionMode forValue(int value) {
return values()[value];
}
public int getValue() {
return this.ordinal();
}
}