| | |
| | | |
| | | import static com.persistit.Transaction.CommitPolicy.*; |
| | | import static java.util.Arrays.*; |
| | | |
| | | import static org.opends.messages.JebMessages.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | import java.io.File; |
| | | import java.io.FilenameFilter; |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public FilenameFilter getFilesToBackupFilter() |
| | | { |
| | | return new FilenameFilter() |
| | | { |
| | | @Override |
| | | public boolean accept(File d, String name) |
| | | { |
| | | return name.startsWith(VOLUME_NAME) && !name.endsWith(".lck"); |
| | | } |
| | | }; |
| | | } |
| | | |
| | | /* |
| | | * TODO: it would be nice to use the low-level key/value APIs. They seem quite |
| | | * inefficient at the moment for simple byte arrays. |