Class UsageInfo
- java.lang.Object
-
- com.atlassian.confluence.status.service.systeminfo.UsageInfo
-
public class UsageInfo extends Object
Confluence usage information gathered from a few simple database queries.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UsageInfo.Builder
-
Constructor Summary
Constructors Constructor Description UsageInfo(int totalSpaces, int globalSpaces, int personalSpaces, int allContent, int currentContent, int localUsers, int localGroups)
Deprecated.since 6.11.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsageInfo.Builder
builder()
static UsageInfo
errorInstance()
int
getAllContent()
static Optional<Boolean>
getAutoCommitQuetly(Connection databaseConnection)
int
getCurrentContent()
int
getGlobalSpaces()
int
getLocalGroups()
int
getLocalMemberships()
int
getLocalUsers()
static org.slf4j.Logger
getLog()
int
getPersonalSpaces()
int
getTotalSpaces()
static UsageInfo
getUsageInfo(Connection databaseConnection)
UsageInfoDTO
getUsageInfoDTO()
-
-
-
Constructor Detail
-
UsageInfo
@Deprecated public UsageInfo(int totalSpaces, int globalSpaces, int personalSpaces, int allContent, int currentContent, int localUsers, int localGroups)
Deprecated.since 6.11. Usebuilder()
instead.
-
-
Method Detail
-
getUsageInfo
public static UsageInfo getUsageInfo(Connection databaseConnection)
-
getAutoCommitQuetly
public static Optional<Boolean> getAutoCommitQuetly(Connection databaseConnection)
-
errorInstance
public static UsageInfo errorInstance()
-
builder
public static UsageInfo.Builder builder()
-
getUsageInfoDTO
public UsageInfoDTO getUsageInfoDTO()
-
getLog
public static org.slf4j.Logger getLog()
-
getTotalSpaces
public int getTotalSpaces()
-
getGlobalSpaces
public int getGlobalSpaces()
-
getPersonalSpaces
public int getPersonalSpaces()
-
getAllContent
public int getAllContent()
-
getCurrentContent
public int getCurrentContent()
-
getLocalUsers
public int getLocalUsers()
-
getLocalGroups
public int getLocalGroups()
-
getLocalMemberships
public int getLocalMemberships()
-
-