org.apache.activemq.artemis.utils.UUIDGenerator.asString()方法的使用及代码示例

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

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

UUIDGenerator.asString介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

public byte[] generateDummyAddress() {
 Random rnd = getRandomNumberGenerator();
 byte[] dummy = new byte[6];
 rnd.nextBytes(dummy);
 /* Need to set the broadcast bit to indicate it's not a real
  * address.
  */
 dummy[0] |= (byte) 0x01;
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using dummy address " + UUIDGenerator.asString(dummy));
 }
 return dummy;
}

代码示例来源:origin: wildfly/wildfly

if (address != null) {
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using hardware address " + UUIDGenerator.asString(address));

代码示例来源:origin: apache/activemq-artemis

public byte[] generateDummyAddress() {
 Random rnd = getRandomNumberGenerator();
 byte[] dummy = new byte[6];
 rnd.nextBytes(dummy);
 /* Need to set the broadcast bit to indicate it's not a real
  * address.
  */
 dummy[0] |= (byte) 0x01;
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using dummy address " + UUIDGenerator.asString(dummy));
 }
 return dummy;
}

代码示例来源:origin: apache/activemq-artemis

public byte[] generateDummyAddress() {
 Random rnd = getRandomNumberGenerator();
 byte[] dummy = new byte[6];
 rnd.nextBytes(dummy);
 /* Need to set the broadcast bit to indicate it's not a real
  * address.
  */
 dummy[0] |= (byte) 0x01;
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using dummy address " + UUIDGenerator.asString(dummy));
 }
 return dummy;
}

代码示例来源:origin: apache/activemq-artemis

public byte[] generateDummyAddress() {
 Random rnd = getRandomNumberGenerator();
 byte[] dummy = new byte[6];
 rnd.nextBytes(dummy);
 /* Need to set the broadcast bit to indicate it's not a real
  * address.
  */
 dummy[0] |= (byte) 0x01;
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using dummy address " + UUIDGenerator.asString(dummy));
 }
 return dummy;
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public byte[] generateDummyAddress() {
 Random rnd = getRandomNumberGenerator();
 byte[] dummy = new byte[6];
 rnd.nextBytes(dummy);
 /* Need to set the broadcast bit to indicate it's not a real
  * address.
  */
 dummy[0] |= (byte) 0x01;
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using dummy address " + UUIDGenerator.asString(dummy));
 }
 return dummy;
}

代码示例来源:origin: org.apache.activemq/artemis-commons

public byte[] generateDummyAddress() {
 Random rnd = getRandomNumberGenerator();
 byte[] dummy = new byte[6];
 rnd.nextBytes(dummy);
 /* Need to set the broadcast bit to indicate it's not a real
  * address.
  */
 dummy[0] |= (byte) 0x01;
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using dummy address " + UUIDGenerator.asString(dummy));
 }
 return dummy;
}

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

public byte[] generateDummyAddress() {
 Random rnd = getRandomNumberGenerator();
 byte[] dummy = new byte[6];
 rnd.nextBytes(dummy);
 /* Need to set the broadcast bit to indicate it's not a real
  * address.
  */
 dummy[0] |= (byte) 0x01;
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using dummy address " + UUIDGenerator.asString(dummy));
 }
 return dummy;
}

代码示例来源:origin: apache/activemq-artemis

if (address != null) {
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using hardware address " + UUIDGenerator.asString(address));

代码示例来源:origin: apache/activemq-artemis

if (address != null) {
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using hardware address " + UUIDGenerator.asString(address));

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

if (address != null) {
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using hardware address " + UUIDGenerator.asString(address));

代码示例来源:origin: apache/activemq-artemis

if (address != null) {
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using hardware address " + UUIDGenerator.asString(address));

代码示例来源:origin: org.jboss.eap/wildfly-client-all

if (address != null) {
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using hardware address " + UUIDGenerator.asString(address));

代码示例来源:origin: org.apache.activemq/artemis-commons

if (address != null) {
 if (ActiveMQUtilLogger.LOGGER.isDebugEnabled()) {
   ActiveMQUtilLogger.LOGGER.debug("using hardware address " + UUIDGenerator.asString(address));

相关文章