Tabnine Logo
IPageMap.getSizeInBytes
Code IndexAdd Tabnine to your IDE (free)

How to use
getSizeInBytes
method
in
org.apache.wicket.IPageMap

Best Java code snippets using org.apache.wicket.IPageMap.getSizeInBytes (Showing top 3 results out of 315)

origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * @return Size of this session, including all the pagemaps it contains
 */
public final long getSizeInBytes()
{
  long size = Objects.sizeof(this);
  for (final Iterator iterator = getPageMaps().iterator(); iterator.hasNext();)
  {
    final IPageMap pageMap = (IPageMap)iterator.next();
    size += pageMap.getSizeInBytes();
  }
  return size;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @return Size of this session, including all the pagemaps it contains
 */
public final long getSizeInBytes()
{
  long size = Objects.sizeof(this);
  for (IPageMap pageMap : getPageMaps())
  {
    size += pageMap.getSizeInBytes();
  }
  return size;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

add(new Label("size", "" + Bytes.bytes(pageMap.getSizeInBytes())));
org.apache.wicketIPageMapgetSizeInBytes

Popular methods of IPageMap

  • getName
  • isDefault
  • remove
    Removes the page from the pagemap
  • attributeForId
  • clear
    Removes all pages from this map
  • containsPage
    Returns true if the PageMap contains page with given id and versonNumber
  • continueToOriginalDestination
    Redirects to any intercept page previously specified by a call to redirectToInterceptPage.
  • get
    Retrieves page with given id.
  • getEntry
    Retrieves entry with given id.
  • nextId
  • put
  • redirectToInterceptPage
    Redirects browser to an intermediate page such as a sign-in page. The current request's url is saved
  • put,
  • redirectToInterceptPage

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • getSystemService (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now