class ZMSFileChangeLogStoreCommon {

    public List<String> getLocalDomainList() {

        List<String> names = new ArrayList<>();
        String[] domains = rootDir.list();
        if (domains == null) {
            return names;
        }
        for (String name : domains) {

            // we are going to skip any hidden files

            if (name.charAt(0) != '.') {
                names.add(name);
            }
        }

        return names;
    }

    public  ZMSFileChangeLogStoreCommon(final String rootDirectory);

}