public class DefaultHeartbeatManager extends Object implements HeartbeatManager
Modifier and Type | Field and Description |
---|---|
static long |
TIMEOUT_MS |
Constructor and Description |
---|
DefaultHeartbeatManager() |
Modifier and Type | Method and Description |
---|---|
long |
getHeartbeatInterval() |
List<com.atlassian.user.User> |
getUsersForActivity(Object key) |
void |
init() |
void |
setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory) |
void |
setClusterLockService(com.atlassian.beehive.ClusterLockService clusterLockService) |
void |
setLockFactory(LockFactory lockFactory)
Deprecated.
since 5.7.1
|
void |
startActivity(Object key,
com.atlassian.user.User user) |
void |
stopActivity(Object key,
com.atlassian.user.User user) |
public static final long TIMEOUT_MS
public long getHeartbeatInterval()
getHeartbeatInterval
in interface HeartbeatManager
public List<com.atlassian.user.User> getUsersForActivity(Object key)
getUsersForActivity
in interface HeartbeatManager
public void startActivity(Object key, com.atlassian.user.User user)
startActivity
in interface HeartbeatManager
public void stopActivity(Object key, com.atlassian.user.User user)
stopActivity
in interface HeartbeatManager
public void init()
public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
public void setClusterLockService(com.atlassian.beehive.ClusterLockService clusterLockService)
@Deprecated public void setLockFactory(LockFactory lockFactory)
Copyright © 2003–2015 Atlassian. All rights reserved.