com.atlassian.confluence.status.service.systeminfo
Class UsageInfo

java.lang.Object
  extended by com.atlassian.confluence.status.service.systeminfo.UsageInfo

public class UsageInfo
extends Object

Confluence usage information gathered from a few simple database queries.


Constructor Summary
UsageInfo(int totalSpaces, int globalSpaces, int personalSpaces, int allContent, int currentContent, int localUsers, int localGroups, int indexSize)
           
 
Method Summary
static UsageInfo errorInstance()
           
 int getAllContent()
           
 int getCurrentContent()
           
 int getGlobalSpaces()
           
 int getIndexSize()
           
 int getLocalGroups()
           
 int getLocalUsers()
           
static org.slf4j.Logger getLog()
           
 int getPersonalSpaces()
           
 int getTotalSpaces()
           
static UsageInfo getUsageInfo(Connection databaseConnection, com.atlassian.bonnie.ILuceneConnection luceneConnection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsageInfo

public UsageInfo(int totalSpaces,
                 int globalSpaces,
                 int personalSpaces,
                 int allContent,
                 int currentContent,
                 int localUsers,
                 int localGroups,
                 int indexSize)
Method Detail

getUsageInfo

public static UsageInfo getUsageInfo(Connection databaseConnection,
                                     com.atlassian.bonnie.ILuceneConnection luceneConnection)

errorInstance

public static UsageInfo errorInstance()

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()

getIndexSize

public int getIndexSize()


Copyright © 2003-2012 Atlassian. All Rights Reserved.