From 4684549782accd0ffba1aefd15d42918effeddfd Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 22 Dec 2009 01:15:07 +0000 Subject: Added isClosed method to Repository. --- .../java/com/amazon/carbonado/repo/logging/LoggingRepository.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/com/amazon/carbonado/repo/logging') diff --git a/src/main/java/com/amazon/carbonado/repo/logging/LoggingRepository.java b/src/main/java/com/amazon/carbonado/repo/logging/LoggingRepository.java index 3c47857..a3d1d4b 100644 --- a/src/main/java/com/amazon/carbonado/repo/logging/LoggingRepository.java +++ b/src/main/java/com/amazon/carbonado/repo/logging/LoggingRepository.java @@ -106,6 +106,10 @@ class LoggingRepository implements Repository, LogAccessCapability { public void close() { mRepo.close(); } + + public boolean isClosed() { + return mRepo.isClosed(); + } public Log getLog() { return mLog; -- cgit v1.2.3