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

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

public class UsageInfo
extends java.lang.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)
           
UsageInfo(int totalSpaces, int globalSpaces, int personalSpaces, int allContent, int currentContent, int localUsers, int localGroups, int indexSize)
          Deprecated. since 5.5. Use UsageInfo(int, int, int, int, int, int, int) instead.
 
Method Summary
static UsageInfo errorInstance()
           
 int getAllContent()
           
 int getCurrentContent()
           
 int getGlobalSpaces()
           
 int getIndexSize()
          Deprecated. since 5.5. UsageInfo does not return lucene index size anymore.
 int getLocalGroups()
           
 int getLocalUsers()
           
static org.slf4j.Logger getLog()
           
 int getPersonalSpaces()
           
 int getTotalSpaces()
           
static UsageInfo getUsageInfo(java.sql.Connection databaseConnection)
           
static UsageInfo getUsageInfo(java.sql.Connection databaseConnection, com.atlassian.bonnie.ILuceneConnection luceneConnection)
          Deprecated. since 5.5. Use getUsageInfo(java.sql.Connection) instead.
 
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)

UsageInfo

@Deprecated
public UsageInfo(int totalSpaces,
                            int globalSpaces,
                            int personalSpaces,
                            int allContent,
                            int currentContent,
                            int localUsers,
                            int localGroups,
                            int indexSize)
Deprecated. since 5.5. Use UsageInfo(int, int, int, int, int, int, int) instead.

Method Detail

getUsageInfo

@Deprecated
public static UsageInfo getUsageInfo(java.sql.Connection databaseConnection,
                                                com.atlassian.bonnie.ILuceneConnection luceneConnection)
Deprecated. since 5.5. Use getUsageInfo(java.sql.Connection) instead.


getUsageInfo

public static UsageInfo getUsageInfo(java.sql.Connection databaseConnection)

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

@Deprecated
public int getIndexSize()
Deprecated. since 5.5. UsageInfo does not return lucene index size anymore.



Copyright © 2003-2014 Atlassian. All Rights Reserved.