class DBService implements RolesProvider {

    public Map<String, DomainRoleMember> getRoleExpiryMembers(int delayDays) {
        try (ObjectStoreConnection con = store.getConnection(true, true)) {
            long updateTs = System.currentTimeMillis();
            if (con.updateRoleMemberExpirationNotificationTimestamp(zmsConfig.getServerHostName(), updateTs, delayDays)) {
                return con.getNotifyTemporaryRoleMembers(zmsConfig.getServerHostName(), updateTs);
            }
        }
        return null;
    }

    public  DBService(ObjectStore store, AuditLogger auditLogger, ZMSConfig zmsConfig, AuditReferenceValidator auditReferenceValidator);

}