alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (terracotta.xml)

This example Jetty source code file (terracotta.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

sessiondata, sessiondata

The Jetty terracotta.xml source code

<xml-fragment>
      <instrumented-classes>
        <exclude>org.mortbay.jetty..*
        <exclude>org.apache.jasper..*
        <exclude>org.mortbay.thread.BoundedThreadPool
        <exclude>org.mortbay.component.AbstractLifeCycle

        <include>
          <class-expression>org.mortbay.terracotta..*
        </include>
        <include>
          <class-expression>org.mortbay.terracotta.servlet.TerracottaSessionManager$SessionData
        </include>
      </instrumented-classes>

      <roots>
        <root>
          <field-name>org.mortbay.terracotta.servlet.TerracottaSessionManager._sessionDataMap
          <root-name>sessionTimeoutMap
        </root>
        <root>
          <field-name>org.mortbay.terracotta.servlet.TerracottaSessionIdManager._sessionIds
          <root-name>sessionIdMap
        </root>
      </roots>

      <locks>
        <autolock>
          <method-expression>* org.mortbay.terracotta.servlet.*.*(..)
          <lock-level>write
        </autolock>
      </locks>
</xml-fragment>

Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty terracotta.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.