protected static ArrayList<DBExtension> getAll(final DBExtensionType type, @Nullable final String key) {
            return withAccessLock(() -> {
                init();
                return getAll(database, type, key);
            });
        }
get a list of all entries for this key (if key != null) / for this type (if key is null)
main/src/main/java/cgeo/geocaching/storage/DataStore.java