
com.xiaomi.infra.galaxy.fds.Constants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of galaxy-fds-core Show documentation
Show all versions of galaxy-fds-core Show documentation
Core date type of Xiaomi File Storage Service
package com.xiaomi.infra.galaxy.fds;
/**
* Copyright 2015, Xiaomi.
* All rights reserved.
* Author: [email protected]
*/
public class Constants {
public static final long DEFAULT_SPACE_LIMIT = 1 * 1024 * 1024 * 1024;
public static final String TRASH_BUCKET_NAME = "trash";
public static final int MD5_BYTES_LENGTH = 16;
public enum Clusters {
/* do not change value already assigned */
staging(0),
cnbj0(1),
cnbj1(2),
tjwqsrv(3), // a little break here, -> cnbj2
awsbj0(4),
awsusor0(5),
awssgp0(6),
awssgp1(7),
awsde0(8),
none(-1);
int id;
private Clusters(int id) {
this.id = id;
}
public int getId() {
return id;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy