public class UserStateService extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserStateService.LastActivityComparatorASC |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_STATUS |
| Constructor and Description |
|---|
UserStateService(org.exoplatform.services.cache.CacheService cacheService) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay() |
UserStateModel |
getUserState(String userId) |
boolean |
isOnline(String userId) |
UserStateModel |
lastLogin() |
List<UserStateModel> |
online() |
UserStateModel |
ping(String userId) |
void |
save(UserStateModel model) |
public static String DEFAULT_STATUS
public UserStateService(org.exoplatform.services.cache.CacheService cacheService)
public int getDelay()
public void save(UserStateModel model)
public UserStateModel getUserState(String userId)
public UserStateModel ping(String userId)
public List<UserStateModel> online()
public boolean isOnline(String userId)
public UserStateModel lastLogin()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.