Class Util
- java.lang.Object
-
- com.microsoft.azure.servicebus.primitives.Util
-
public class Util extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Duration
adjustServerTimeout(Duration clientTimeout)
static UUID
convertDotNetBytesToUUID(byte[] dotNetBytes)
static Instant
convertDotNetTicksToInstant(long dotNetTicks)
static long
convertInstantToDotNetTicks(Instant instant)
static URI
convertNamespaceToEndPointURI(String namespaceName)
static byte[]
convertUUIDToDotNetBytes(UUID uniqueId)
static ClientSettings
getClientSettingsFromConnectionStringBuilder(ConnectionStringBuilder builder)
static int
getDataSerializedSize(org.apache.qpid.proton.message.Message amqpMessage)
-
-
-
Method Detail
-
convertDotNetTicksToInstant
public static Instant convertDotNetTicksToInstant(long dotNetTicks)
-
convertInstantToDotNetTicks
public static long convertInstantToDotNetTicks(Instant instant)
-
convertDotNetBytesToUUID
public static UUID convertDotNetBytesToUUID(byte[] dotNetBytes)
-
convertUUIDToDotNetBytes
public static byte[] convertUUIDToDotNetBytes(UUID uniqueId)
-
getDataSerializedSize
public static int getDataSerializedSize(org.apache.qpid.proton.message.Message amqpMessage)
-
convertNamespaceToEndPointURI
public static URI convertNamespaceToEndPointURI(String namespaceName)
-
getClientSettingsFromConnectionStringBuilder
public static ClientSettings getClientSettingsFromConnectionStringBuilder(ConnectionStringBuilder builder)
-
-