ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/util/CacheWriter.java

Path
ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/util/CacheWriter.java
Status
scanned
Type
file
Name
CacheWriter.java
Extension
.java
Programming language
Java
Mime type
text/x-java
File type
Java source, ASCII text
Tag

      
    
Rootfs path

      
    
Size
936 (936 bytes)
MD5
6c38066341ef37f06631a8b8eda8e756
SHA1
685c056d2efff88262a73f9a64d63711e81e6e75
SHA256
10f7cc0e55af08d890723fe403fea91006c1ac30da22497a235fdd60bdcc3bde
SHA512

      
    
SHA1_git
2e6ba257cb3323894a50fa66255fbaecf28eab72
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
CacheWriter.java | 936 bytes |

/* * Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (https://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.util; import org.h2.message.Trace; /** * The cache writer is called by the cache to persist changed data that needs to * be removed from the cache. */ public interface CacheWriter { /** * Persist a record. * * @param entry the cache entry */ void writeBack(CacheObject entry); /** * Flush the transaction log, so that entries can be removed from the cache. * This is only required if the cache is full and contains data that is not * yet written to the log. It is required to write the log entries to the * log first, because the log is 'write ahead'. */ void flushLog(); /** * Get the trace writer. * * @return the trace writer */ Trace getTrace(); }
Detected license expression
mpl-2.0 AND epl-1.0
Detected license expression (SPDX)
MPL-2.0 AND EPL-1.0
Percentage of license text
6.98
Copyrights
- end_line: 2
  copyright: Copyright 2004-2023 H2 Group. Multiple-Licensed
  start_line: 2
Holders
- holder: H2 Group. Multiple-Licensed
  end_line: 2
  start_line: 2
Authors

      
    
License detections License expression License expression SPDX
mpl_2_0_and_epl_1_0-796bf8d7-f485-3520-923d-e6a4b1ecd2f3 mpl-2.0 AND epl-1.0 MPL-2.0 AND EPL-1.0
URL Start line End line
https://h2database.com/html/license.html 3 3
Package URL License Primary language
pkg:osgi/com.h2database.source@2.2.220