com.atlassian.confluence.core
Class DefaultHeartbeatManager

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

public class DefaultHeartbeatManager
extends java.lang.Object
implements HeartbeatManager


Field Summary
static long TIMEOUT_MS
           
 
Constructor Summary
DefaultHeartbeatManager()
           
 
Method Summary
 long getHeartbeatInterval()
           
 java.util.List getUsersForActivity(java.lang.Object key)
           
 void init()
           
 void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
           
 void setLockFactory(LockFactory lockFactory)
           
 void startActivity(java.lang.Object key, com.atlassian.user.User user)
           
 void stopActivity(java.lang.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 java.util.List getUsersForActivity(java.lang.Object key)
Specified by:
getUsersForActivity in interface HeartbeatManager

startActivity

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

stopActivity

public void stopActivity(java.lang.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-2010 Atlassian. All Rights Reserved.