com.microsoft.azure.management.resources.fluentcore.utils.Utils.toPrimitiveLong()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(5.9k)|赞(0)|评价(0)|浏览(109)

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

Utils.toPrimitiveLong介绍

[英]Converts an object Long to a primitive long.
[中]将对象Long转换为基本Long。

代码示例

代码示例来源:origin: com.microsoft.azure/azure-mgmt-network

@Override
  public long secondaryBytesOut() {
    return Utils.toPrimitiveLong(inner().secondarybytesOut());
  }
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
  public long secondaryBytesOut() {
    return Utils.toPrimitiveLong(inner().secondarybytesOut());
  }
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long scheduledMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().scheduledMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().scheduledMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long transferMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().transferMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().transferMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long scheduledMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().scheduledMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().scheduledMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long deadLetterMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().deadLetterMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().deadLetterMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long transferDeadLetterMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().transferDeadLetterMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().transferDeadLetterMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long deadLetterMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().deadLetterMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().deadLetterMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long scheduledMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().scheduledMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().scheduledMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long transferMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().transferMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().transferMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long transferDeadLetterMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().transferDeadLetterMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().transferDeadLetterMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long transferDeadLetterMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().transferDeadLetterMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().transferDeadLetterMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long transferMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().transferMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().transferMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long activeMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().activeMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().activeMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long deadLetterMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().deadLetterMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().deadLetterMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long activeMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().activeMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().activeMessageCount());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

@Override
public long activeMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().activeMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().activeMessageCount());
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
public long activeMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().activeMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().activeMessageCount());
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
public long deadLetterMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().deadLetterMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().deadLetterMessageCount());
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
public long transferDeadLetterMessageCount() {
  if (this.inner().countDetails() == null
      || this.inner().countDetails().transferDeadLetterMessageCount() == null) {
    return 0;
  }
  return Utils.toPrimitiveLong(this.inner().countDetails().transferDeadLetterMessageCount());
}

相关文章