nulltransactionrunner.java
来自「linux 下的源代码分析阅读器 red hat公司新版」· Java 代码 · 共 33 行
JAVA
33 行
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002,2007 Oracle. All rights reserved. * * $Id: NullTransactionRunner.java,v 12.5 2007/05/04 00:28:29 mark Exp $ */package com.sleepycat.collections.test;import com.sleepycat.collections.TransactionRunner;import com.sleepycat.collections.TransactionWorker;import com.sleepycat.db.Environment;import com.sleepycat.util.ExceptionUnwrapper;class NullTransactionRunner extends TransactionRunner { NullTransactionRunner(Environment env) { super(env); } public void run(TransactionWorker worker) throws Exception { try { worker.doWork(); } catch (Exception e) { throw ExceptionUnwrapper.unwrap(e); } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?