public interface HeartbeatManager
Modifier and Type | Method and Description |
---|---|
long |
getHeartbeatInterval()
Fetches the time at which activities will expire
|
List<com.atlassian.user.User> |
getUsersForActivity(String activity)
Fetches a list of users who are participating in a specified activity
|
void |
startActivity(String activityKey,
String username)
Adds a username as an active participant to the specified activity
|
void |
startActivity(String activity,
com.atlassian.user.User user)
Adds a username as an active participant to the specified activity
|
void |
stopActivity(String activityKey,
String username)
Remove a username from the active participants from the specified activity
|
void |
stopActivity(String activity,
com.atlassian.user.User user)
Remove a user from the active participants from the specified activity
|
long getHeartbeatInterval()
List<com.atlassian.user.User> getUsersForActivity(String activity)
activity
- The key used to identify the activityvoid startActivity(String activityKey, String username)
activityKey
- The key used to identify the activityusername
- The username of the user who is participating in the activityvoid startActivity(String activity, com.atlassian.user.User user)
activity
- The key used to identify the activityuser
- The user who is participating in the activityvoid stopActivity(String activity, com.atlassian.user.User user)
activity
- The key used to identify the activityuser
- The user who is participating in the activityCopyright © 2003–2020 Atlassian. All rights reserved.