ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/session/PersistentManager.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/session/PersistentManager.java
Status
scanned
Type
file
Name
PersistentManager.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1961 (1.9 KB)
MD5
e693f388103a07547d83e5e278748815
SHA1
1e278c4d292e39a62953616949c6b32360c26161
SHA256
28213559e47d31b68243242377c8f202ce30b07b4a49e8529b203acdc8f02aef
SHA512

      
    
SHA1_git
f21332a6f1d7e1b4d31dae74196b5998f5f53990
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
PersistentManager.java | 1.9 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.catalina.session; /** * Implementation of the <b>Manager</b> interface that makes use of a Store to swap active Sessions to disk. It can be * configured to achieve several different goals: * <ul> * <li>Persist sessions across restarts of the Container</li> * <li>Fault tolerance, keep sessions backed up on disk to allow recovery in the event of unplanned restarts.</li> * <li>Limit the number of active sessions kept in memory by swapping less active sessions out to disk.</li> * </ul> * If used with a load-balancer, the load-balancer must be configured to use sticky sessions for this manager to operate * correctly. */ public final class PersistentManager extends PersistentManagerBase { // ----------------------------------------------------- Instance Variables /** * The descriptive name of this Manager implementation (for logging). */ private static final String name = "PersistentManager"; // ------------------------------------------------------------- Properties @Override public String getName() { return name; } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
49.17
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9