Examples of Alerts


Examples of com.google.enterprise.connector.sharepoint.generated.alerts.Alerts

        + SPConstants.ALERTSENDPOINT;
    LOGGER.log(Level.CONFIG, "Endpoint set to: " + endpoint);

    final AlertsLocator loc = new AlertsLocator();
    loc.setAlertsSoapEndpointAddress(endpoint);
    final Alerts alertsService = loc;

    try {
      stub = (AlertsSoap_BindingStub) alertsService.getAlertsSoap();
    } catch (final ServiceException e) {
      LOGGER.log(Level.WARNING, e.getMessage(), e);
      throw new SharepointException("Unable to create SPAlertsWS stub.");
    }
  }
View Full Code Here

Examples of com.linkedin.helix.model.Alerts

  public void persistAlerts()
  {
    //XXX: Am I using _accessor too directly here?
   
    Alerts alerts = _accessor.getProperty(_keyBuilder.alerts());
    if (alerts == null) {
      alerts = new Alerts(Alerts.nodeName); //TODO: fix naming of this record, if it matters
    }
    alerts.getRecord().setMapFields(_alertsMap);
     boolean retVal = _accessor.setProperty(_keyBuilder.alerts(), alerts);
     logger.debug("persistAlerts retVal: "+retVal);
  }
View Full Code Here

Examples of com.linkedin.helix.model.Alerts

  }

  public void updateCache(HealthDataCache cache)
  {
    _cache = cache;
    Alerts alertsRecord = _cache.getAlerts();
    if (alertsRecord != null)
    {
      _alertsMap = alertsRecord.getMapFields();
    }
    else
    {
      _alertsMap = new HashMap<String, Map<String,String>>();
    }
View Full Code Here

Examples of com.linkedin.helix.model.Alerts

  public void persistAlerts()
  {
    //XXX: Am I using _accessor too directly here?
   
    Alerts alerts = _accessor.getProperty(_keyBuilder.alerts());
    if (alerts == null) {
      alerts = new Alerts(Alerts.nodeName); //TODO: fix naming of this record, if it matters
    }
    alerts.getRecord().setMapFields(_alertsMap);
     boolean retVal = _accessor.setProperty(_keyBuilder.alerts(), alerts);
     logger.debug("persistAlerts retVal: "+retVal);
  }
View Full Code Here

Examples of com.linkedin.helix.model.Alerts

  }

  public void updateCache(HealthDataCache cache)
  {
    _cache = cache;
    Alerts alertsRecord = _cache.getAlerts();
    if (alertsRecord != null)
    {
      _alertsMap = alertsRecord.getMapFields();
    }
    else
    {
      _alertsMap = new HashMap<String, Map<String,String>>();
    }
View Full Code Here

Examples of org.apache.helix.model.Alerts

  public void persistAlerts()
  {
    //XXX: Am I using _accessor too directly here?
   
    Alerts alerts = _accessor.getProperty(_keyBuilder.alerts());
    if (alerts == null) {
      alerts = new Alerts(Alerts.nodeName); //TODO: fix naming of this record, if it matters
    }
    alerts.getRecord().setMapFields(_alertsMap);
     boolean retVal = _accessor.setProperty(_keyBuilder.alerts(), alerts);
     logger.debug("persistAlerts retVal: "+retVal);
  }
View Full Code Here

Examples of org.apache.helix.model.Alerts

  }

  public void updateCache(HealthDataCache cache)
  {
    _cache = cache;
    Alerts alertsRecord = _cache.getAlerts();
    if (alertsRecord != null)
    {
      _alertsMap = alertsRecord.getMapFields();
    }
    else
    {
      _alertsMap = new HashMap<String, Map<String,String>>();
    }
View Full Code Here

Examples of org.apache.helix.model.Alerts

  }

  public void persistAlerts() {
    // XXX: Am I using _accessor too directly here?

    Alerts alerts = _accessor.getProperty(_keyBuilder.alerts());
    if (alerts == null) {
      alerts = new Alerts(Alerts.nodeName); // TODO: fix naming of this record, if it matters
    }
    alerts.getRecord().setMapFields(_alertsMap);
    boolean retVal = _accessor.setProperty(_keyBuilder.alerts(), alerts);
    logger.debug("persistAlerts retVal: " + retVal);
  }
View Full Code Here

Examples of org.apache.helix.model.Alerts

    return alerts;
  }

  public void updateCache(HealthDataCache cache) {
    _cache = cache;
    Alerts alertsRecord = _cache.getAlerts();
    if (alertsRecord != null) {
      _alertsMap = alertsRecord.getMapFields();
    } else {
      _alertsMap = new HashMap<String, Map<String, String>>();
    }
  }
View Full Code Here

Examples of org.apache.helix.model.Alerts

    // read the stats
    PersistentStats stats = _accessor.getProperty(_keyBuilder.persistantStat());

    // read the alerts
    Alerts alerts = _accessor.getProperty(_keyBuilder.alerts());

    // create the cluster snapshot object
    return new Cluster(_clusterId, resourceMap, participantMap, controllerMap, leaderId,
        clusterConstraintMap, stateModelMap, stats, alerts, userConfig, isPaused, autoJoinAllowed);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.