public class

ServletContextLong

extends Object
implements Serializable
java.lang.Object
   ↳ com.atlassian.jira.web.servletcontext.ServletContextLong

Class Overview

A long variable that is tied to the life of the current servlet context

Summary

Public Constructors
ServletContextLong(String attributeName)
Constructs a reference that has a 0 value
Public Methods
long get()
void set(long value)
Sets the value of the servlet context long
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ServletContextLong (String attributeName)

Constructs a reference that has a 0 value

Parameters
attributeName the name of the servlet context reference

Public Methods

public long get ()

Returns
  • the current value of the servlet context long or 0 if its never been set

public void set (long value)

Sets the value of the servlet context long

Parameters
value the new value of the long