javax.slee.facilities.Tracer.fine()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(7.3k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中javax.slee.facilities.Tracer.fine()方法的一些代码示例,展示了Tracer.fine()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Tracer.fine()方法的具体详情如下:
包路径:javax.slee.facilities.Tracer
类名称:Tracer
方法名:fine

Tracer.fine介绍

暂无

代码示例

代码示例来源:origin: org.mobicents.smsc/scheduler-ra

@Override
public void activityEnded(ActivityHandle activityHandle) {
  if (this.tracer.isFineEnabled()) {
    this.tracer.fine("Activity with handle " + activityHandle + " ended.");
  }
}

代码示例来源:origin: org.mobicents.smsc/persistence-ra

@Override
public void administrativeRemove(ActivityHandle activityHandle) {
  if (this.tracer.isFineEnabled()) {
    this.tracer.fine("Activity administrative remove with handle " + activityHandle + ".");
  }
}

代码示例来源:origin: org.mobicents.smsc/persistence-ra

@Override
public void eventUnreferenced(ActivityHandle activityHandle, FireableEventType arg1, Object arg2, Address arg3,
    ReceivableService arg4, int arg5) {
  if (this.tracer.isFineEnabled()) {
    this.tracer.fine("Event unreferenced on activity with handle " + activityHandle + ".");
  }
}

代码示例来源:origin: org.mobicents.servers.diameter.examples/openims-example-sbb

public void sbbPostCreate() throws javax.slee.CreateException {
 if(tracer.isFineEnabled()) {
  tracer.fine("sbbPostCreate invoked.");
 }
}

代码示例来源:origin: org.mobicents.servers.diameter.examples/openims-example-sbb

public void sbbRolledBack(RolledBackContext context) {
 if(tracer.isFineEnabled()) {
  tracer.fine("sbbRolledBack invoked.");
 }
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-sh-client-ra

public Object getActivity(ActivityHandle handle) {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter ShClient RA :: getActivity :: handle[" + handle + "].");
 }
 return this.activities.get((DiameterActivityHandle)handle);
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-sh-client-ra

public void activityUnreferenced(ActivityHandle handle) {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter ShClient RA :: activityUnreferenced :: handle[" + handle + "].");
 }
 //this.activityEnded(handle);
 if(handle instanceof DiameterActivityHandle) {
  this.endActivity((DiameterActivityHandle) handle);
 }
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-ro-ra

public Object getActivity(ActivityHandle handle) {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter Ro RA :: getActivity :: handle[" + handle + "].");
 }
 return this.activities.get((DiameterActivityHandle)handle);
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-ro-ra

public void eventProcessingSuccessful(ActivityHandle handle, FireableEventType eventType, Object event, Address address, ReceivableService service, int flags) {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter Ro RA :: eventProcessingSuccessful :: handle[" + handle + "], eventType[" + eventType + "], event[" + event + "], address[" + address + "], flags[" + flags + "].");
 }
 if(!(handle instanceof DiameterActivityHandle)) {
  return;
 }
 processAfterEventDelivery(handle, eventType, event, address, service, flags);
}

代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-ro-ra

public Object getActivity(ActivityHandle handle) {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter Ro RA :: getActivity :: handle[" + handle + "].");
 }
 return this.activities.get((DiameterActivityHandle)handle);
}

代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-base-ra

public void activityEnded(ActivityHandle handle) {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter Base RA :: activityEnded :: handle[" + handle + ".");
 }
 if(this.activities != null) {
  synchronized (this.activities) {
   this.activities.remove((DiameterActivityHandle)handle);
  }
 }
}

代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-base-ra

public DiameterActivity createActivity(DiameterIdentity destinationHost, DiameterIdentity destinationRealm) throws CreateActivityException {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter Base RA :: createActivity :: destinationHost[" + destinationHost + "], destinationRealm[" + destinationRealm + "]");
 }
 return createActivity(destinationHost, destinationRealm, null);
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-gx-ra

/**
 * {@inheritDoc}
 */
@Override
public Object getActivity(ActivityHandle handle) {
  if (tracer.isFineEnabled()) {
    tracer.fine("Diameter Gx RA :: getActivity :: handle[" + handle + "].");
  }
  return this.activities.get((DiameterActivityHandle) handle);
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-cx-dx-ra

public void activityUnreferenced(ActivityHandle handle) {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter Cx/Dx RA :: activityUnreferenced :: handle[" + handle + "].");
 }
 if(!(handle instanceof DiameterActivityHandle)) {
  return;
 }
 this.activityEnded(handle);
}

代码示例来源:origin: org.mobicents.smsc/persistence-ra

@Override
public void raConfigure(ConfigProperties properties) {
  if (tracer.isFineEnabled()) {
    tracer.fine("Configuring RA Entity " + this.raContext.getEntityName());
  }
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-cx-dx-ra

public void raInactive() {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter Cx/Dx RA :: raInactive.");
 }
 //synchronized (this.activities) {
 //  activities.clear();
 //}
 activities = null;
 if(tracer.isInfoEnabled()) {
  tracer.info("Diameter Cx/Dx RA :: raInactive completed.");
 }
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-sh-client-ra

public void doOtherEvent(AppSession appSession, AppRequestEvent request, AppAnswerEvent answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException {
 if(tracer.isFineEnabled()) {
  tracer.fine("Diameter ShClient RA :: doOtherEvent :: appSession[" + appSession + "], Request[" + request + "], Answer[" + answer + "]");
 }
 this.ra.fireEvent(appSession.getSessions().get(0).getSessionId(), answer != null ? answer.getMessage() : request.getMessage());
}

代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-base-ra

public void timeoutExpired(Request req) {
 if (tracer.isFineEnabled()) {
  tracer.fine("Diameter Base RA :: timeoutExpired :: " + "Request[" + req + "].");
 }
 // Message delivery timed out - we have to remove activity
 try {
  activities.get(getActivityHandle(req.getSessionId())).endActivity();
 }
 catch (Exception e) {
  tracer.severe("Failure processing timeout message.", e);
 }
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-base-ra

public void timeoutExpired(Request req) {
 if (tracer.isFineEnabled()) {
  tracer.fine("Diameter Base RA :: timeoutExpired :: " + "Request[" + req + "].");
 }
 // Message delivery timed out - we have to remove activity
 try {
  activities.get(getActivityHandle(req.getSessionId())).endActivity();
 }
 catch (Exception e) {
  tracer.severe("Failure processing timeout message.", e);
 }
}

代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-base-common-ra

public void startActivityRemoveTimer(DiameterActivityHandle handle) {
 DiameterActivity da = this.get(handle);
 if(da != null) {
  DiameterFaultTolerantTimerTaskData data = new DiameterFaultTolerantTimerTaskData(handle.getId());
  ActivityRemovalFaultTolerantTimerTask task = new ActivityRemovalFaultTolerantTimerTask(data);
  this.faultTolerantTimer.schedule(task, delay, TimeUnit.MILLISECONDS);
  if(tracer.isFineEnabled()) {
   tracer.fine("Scheduled Activity Remove Timer for ACH ID '" + handle.getId() + "' with delay of " + delay + "ms");
  }
 }
}

相关文章