All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.taotao.boot.idgenerator.uid.Ids Maven / Gradle / Ivy

The newest version!
package com.taotao.boot.idgenerator.uid;

import com.taotao.boot.common.support.oid.Oid;

import java.util.Map;

public interface Ids {

	Oid getOid(String businessCode);

	Oid getOid(String businessCode, String serviceCode);

	Oid getOid(String businessCode, String serviceCode, String extensionCode);

	Oid getOid(String businessCode, String serviceCode, String shardCode, String extensionCode);

	String getId();

	String getId(String extensionCode);

	String getId(String shardCode, String extensionCode);

	Map parseId(String id);

	Map parseOid(Oid oid);

	Map parseOid(String oid);

	String parseSystemCode(String uid);

	String parseDataCenterCode(String uid);

	String parseShardCode(String uid);

	Long parseSequenceCode(String uid);

	String parseBusinessCode(String oid);

	String parseServiceCode(String oid);

	String parseExtensionCode(String oid);

	String parseChannelCode(String oid);

	String parseProductCode(String oid);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy