com.atlassian.confluence.core
Class DefaultHeartbeatManager

java.lang.Object
  extended by com.atlassian.confluence.core.DefaultHeartbeatManager
All Implemented Interfaces:
HeartbeatManager

public class DefaultHeartbeatManager
extends Object
implements HeartbeatManager


Field Summary
static long TIMEOUT_MS
           
 
Constructor Summary
DefaultHeartbeatManager()
           
 
Method Summary
 long getHeartbeatInterval()
           
 List getUsersForActivity(Object key)
           
 void init()
           
 void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
           
 void setLockFactory(LockFactory lockFactory)
           
 void startActivity(Object key, com.atlassian.user.User user)
           
 void stopActivity(Object key, com.atlassian.user.User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEOUT_MS

public static final long TIMEOUT_MS
See Also:
Constant Field Values
Constructor Detail

DefaultHeartbeatManager

public DefaultHeartbeatManager()
Method Detail

getHeartbeatInterval

public long getHeartbeatInterval()
Specified by:
getHeartbeatInterval in interface HeartbeatManager

getUsersForActivity

public List getUsersForActivity(Object key)
Specified by:
getUsersForActivity in interface HeartbeatManager

startActivity

public void startActivity(Object key,
                          com.atlassian.user.User user)
Specified by:
startActivity in interface HeartbeatManager

stopActivity

public void stopActivity(Object key,
                         com.atlassian.user.User user)
Specified by:
stopActivity in interface HeartbeatManager

init

public void init()

setCacheFactory

public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)

setLockFactory

public void setLockFactory(LockFactory lockFactory)


Copyright © 2003-2013 Atlassian. All Rights Reserved.