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

com.eshore.uas.extensions.UserCache Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
package com.eshore.uas.extensions;

import com.eshore.uas.server.api.User;

/**
 * 用户的缓存实现
 * @author eshore
 *
 */
public interface UserCache {
	User byId(String id);
	User byMail(String mail);
	User byPhone(String phone);
	User byAccount(String phone);
	void cache(User u);
	void remove(User u);
	void removeById(String id,String domain);
	void removeByMail(String mail,String domain);
	void removeByPhone(String phone,String domain);
	void removeByAccount(String phone,String domain);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy