class FileConnection implements ObjectStoreConnection {

    @Override
    public boolean updatePendingRoleMembersNotificationTimestamp(String server, long timestamp, int delayDays) {
        String[] fnames = getDomainList();
        boolean updated = false;
        for (String name : fnames) {
            DomainStruct dom = getDomainStruct(name);
            boolean domainChanged = false;
            if (dom == null) {
                continue;
            }
            for (Role role : dom.getRoles().values()) {
                for (RoleMember roleMember : role.getRoleMembers()) {
                    if (roleMember.getApproved() == Boolean.FALSE) {
                        roleMember.setLastNotifiedTime(Timestamp.fromCurrentTime());
                        updated = true;
                        domainChanged = true;
                    }
                }
            }
            if (domainChanged) {
                putDomainStruct(name, dom);
            }
        }
        return updated;
    }

    public  FileConnection(File rootDir, File quotaDir);

}