com.wewebu.ow.server.ui
Class OwUsageCounter.OwUsageState

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwUsageCounter.OwUsageState
Enclosing class:
OwUsageCounter

public static class OwUsageCounter.OwUsageState
extends Object

A usage statistic entry.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Constructor Summary
OwUsageCounter.OwUsageState(Map users_p, Map sessions_p, Date date_p)
          create a usage statistic entry
 
Method Summary
 Date getDate()
          get the user count
 int getSessionCount()
          get the session count
 int getUserCount()
          get the user count
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwUsageCounter.OwUsageState

public OwUsageCounter.OwUsageState(Map users_p,
                                   Map sessions_p,
                                   Date date_p)
create a usage statistic entry

Parameters:
users_p - maps users (key) to Set of sessions (value)
sessions_p - maps sessions (key) to users (value)
Method Detail

getDate

public Date getDate()
get the user count

Returns:
a Date

getUserCount

public int getUserCount()
get the user count

Returns:
an int

getSessionCount

public int getSessionCount()
get the session count

Returns:
an int


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.