azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.service...

207 строки
20 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender"
name: "CoreMessageSender"
nameWithType: "CoreMessageSender"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity?alt=com.microsoft.azure.servicebus.primitives.ClientEntity&text=ClientEntity\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.close()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.close&text=close\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.closeAsync()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.closeAsync&text=closeAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.finalize()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.getClientId()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.getClientId&text=getClientId\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.getIsClosed()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.getIsClosed&text=getIsClosed\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.getIsClosingOrClosed()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.getIsClosingOrClosed&text=getIsClosingOrClosed\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.onClose()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.onClose&text=onClose\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.setClosed()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.setClosed&text=setClosed\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.setClosing()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.setClosing&text=setClosing\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.throwIfClosed(java.lang.Throwable)?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.throwIfClosed&text=throwIfClosed\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **CoreMessageSender**</br> extends <xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity?alt=com.microsoft.azure.servicebus.primitives.ClientEntity&text=ClientEntity\" data-throw-if-not-resolved=\"False\" /></br> implements <xref href=\"com.microsoft.azure.servicebus.amqp.IAmqpSender?alt=com.microsoft.azure.servicebus.amqp.IAmqpSender&text=IAmqpSender\" data-throw-if-not-resolved=\"False\" />, <xref href=\"com.microsoft.azure.servicebus.primitives.IErrorContextProvider?alt=com.microsoft.azure.servicebus.primitives.IErrorContextProvider&text=IErrorContextProvider\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.cancelScheduledMessageAsync(java.lang.Long[],java.time.Duration)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.cancelScheduledMessageAsync(Long[] sequenceNumbers, Duration timeout)"
name: "cancelScheduledMessageAsync(Long[] sequenceNumbers, Duration timeout)"
nameWithType: "CoreMessageSender.cancelScheduledMessageAsync(Long[] sequenceNumbers, Duration timeout)"
parameters:
- name: "sequenceNumbers"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>[]"
- name: "timeout"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public CompletableFuture<Void> cancelScheduledMessageAsync(Long[] sequenceNumbers, Duration timeout)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.create(com.microsoft.azure.servicebus.primitives.MessagingFactory,java.lang.String,java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.create(MessagingFactory factory, String clientId, String senderPath, String transferDestinationPath)"
name: "create(MessagingFactory factory, String clientId, String senderPath, String transferDestinationPath)"
nameWithType: "CoreMessageSender.create(MessagingFactory factory, String clientId, String senderPath, String transferDestinationPath)"
modifiers:
- "static"
parameters:
- name: "factory"
type: "<xref href=\"com.microsoft.azure.servicebus.primitives.MessagingFactory?alt=com.microsoft.azure.servicebus.primitives.MessagingFactory&text=MessagingFactory\" data-throw-if-not-resolved=\"False\" />"
- name: "clientId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "senderPath"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "transferDestinationPath"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public static CompletableFuture<CoreMessageSender> create(MessagingFactory factory, String clientId, String senderPath, String transferDestinationPath)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<xref href=\"com.microsoft.azure.servicebus.primitives.CoreMessageSender?alt=com.microsoft.azure.servicebus.primitives.CoreMessageSender&text=CoreMessageSender\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.create(com.microsoft.azure.servicebus.primitives.MessagingFactory,java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.servicebus.primitives.MessagingEntityType)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.create(MessagingFactory factory, String clientId, String senderPath, String transferDestinationPath, MessagingEntityType entityType)"
name: "create(MessagingFactory factory, String clientId, String senderPath, String transferDestinationPath, MessagingEntityType entityType)"
nameWithType: "CoreMessageSender.create(MessagingFactory factory, String clientId, String senderPath, String transferDestinationPath, MessagingEntityType entityType)"
modifiers:
- "static"
parameters:
- name: "factory"
type: "<xref href=\"com.microsoft.azure.servicebus.primitives.MessagingFactory?alt=com.microsoft.azure.servicebus.primitives.MessagingFactory&text=MessagingFactory\" data-throw-if-not-resolved=\"False\" />"
- name: "clientId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "senderPath"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "transferDestinationPath"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "entityType"
type: "<xref href=\"com.microsoft.azure.servicebus.primitives.MessagingEntityType?alt=com.microsoft.azure.servicebus.primitives.MessagingEntityType&text=MessagingEntityType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static CompletableFuture<CoreMessageSender> create(MessagingFactory factory, String clientId, String senderPath, String transferDestinationPath, MessagingEntityType entityType)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<xref href=\"com.microsoft.azure.servicebus.primitives.CoreMessageSender?alt=com.microsoft.azure.servicebus.primitives.CoreMessageSender&text=CoreMessageSender\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.getContext()"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.getContext()"
name: "getContext()"
nameWithType: "CoreMessageSender.getContext()"
syntax: "public ErrorContext getContext()"
returns:
type: "<xref href=\"com.microsoft.azure.servicebus.primitives.ErrorContext?alt=com.microsoft.azure.servicebus.primitives.ErrorContext&text=ErrorContext\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.getSendPath()"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.getSendPath()"
name: "getSendPath()"
nameWithType: "CoreMessageSender.getSendPath()"
syntax: "public String getSendPath()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onClose()"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onClose()"
name: "onClose()"
nameWithType: "CoreMessageSender.onClose()"
modifiers:
- "protected"
overridden: "com.microsoft.azure.servicebus.primitives.ClientEntity.onClose()"
syntax: "protected CompletableFuture<Void> onClose()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onClose(org.apache.qpid.proton.amqp.transport.ErrorCondition)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onClose(ErrorCondition condition)"
name: "onClose(ErrorCondition condition)"
nameWithType: "CoreMessageSender.onClose(ErrorCondition condition)"
parameters:
- name: "condition"
type: "<xref href=\"org.apache.qpid.proton.amqp.transport.ErrorCondition?alt=org.apache.qpid.proton.amqp.transport.ErrorCondition&text=ErrorCondition\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void onClose(ErrorCondition condition)"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onError(java.lang.Exception)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onError(Exception completionException)"
name: "onError(Exception completionException)"
nameWithType: "CoreMessageSender.onError(Exception completionException)"
parameters:
- name: "completionException"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html\">Exception</a>"
syntax: "public void onError(Exception completionException)"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onFlow(int)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onFlow(int creditIssued)"
name: "onFlow(int creditIssued)"
nameWithType: "CoreMessageSender.onFlow(int creditIssued)"
parameters:
- name: "creditIssued"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void onFlow(int creditIssued)"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onOpenComplete(java.lang.Exception)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onOpenComplete(Exception completionException)"
name: "onOpenComplete(Exception completionException)"
nameWithType: "CoreMessageSender.onOpenComplete(Exception completionException)"
parameters:
- name: "completionException"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html\">Exception</a>"
syntax: "public void onOpenComplete(Exception completionException)"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onSendComplete(org.apache.qpid.proton.engine.Delivery)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.onSendComplete(Delivery delivery)"
name: "onSendComplete(Delivery delivery)"
nameWithType: "CoreMessageSender.onSendComplete(Delivery delivery)"
parameters:
- name: "delivery"
type: "<xref href=\"org.apache.qpid.proton.engine.Delivery?alt=org.apache.qpid.proton.engine.Delivery&text=Delivery\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void onSendComplete(Delivery delivery)"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.peekMessagesAsync(long,int)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.peekMessagesAsync(long fromSequenceNumber, int messageCount)"
name: "peekMessagesAsync(long fromSequenceNumber, int messageCount)"
nameWithType: "CoreMessageSender.peekMessagesAsync(long fromSequenceNumber, int messageCount)"
parameters:
- name: "fromSequenceNumber"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- name: "messageCount"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CompletableFuture<Collection<Message>> peekMessagesAsync(long fromSequenceNumber, int messageCount)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />&gt;&gt;"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.scheduleMessageAsync(org.apache.qpid.proton.message.Message[],com.microsoft.azure.servicebus.TransactionContext,java.time.Duration)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.scheduleMessageAsync(Message[] messages, TransactionContext transaction, Duration timeout)"
name: "scheduleMessageAsync(Message[] messages, TransactionContext transaction, Duration timeout)"
nameWithType: "CoreMessageSender.scheduleMessageAsync(Message[] messages, TransactionContext transaction, Duration timeout)"
parameters:
- name: "messages"
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />[]"
- name: "transaction"
type: "<xref href=\"com.microsoft.azure.servicebus.TransactionContext?alt=com.microsoft.azure.servicebus.TransactionContext&text=TransactionContext\" data-throw-if-not-resolved=\"False\" />"
- name: "timeout"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public CompletableFuture<long[]> scheduleMessageAsync(Message[] messages, TransactionContext transaction, Duration timeout)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />[]&gt;"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.sendAsync(java.lang.Iterable<org.apache.qpid.proton.message.Message>,com.microsoft.azure.servicebus.TransactionContext)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.sendAsync(Iterable<Message> messages, TransactionContext transaction)"
name: "sendAsync(Iterable<Message> messages, TransactionContext transaction)"
nameWithType: "CoreMessageSender.sendAsync(Iterable<Message> messages, TransactionContext transaction)"
parameters:
- name: "messages"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a>&lt;<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />&gt;"
- name: "transaction"
type: "<xref href=\"com.microsoft.azure.servicebus.TransactionContext?alt=com.microsoft.azure.servicebus.TransactionContext&text=TransactionContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CompletableFuture<Void> sendAsync(Iterable<Message> messages, TransactionContext transaction)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
- uid: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.sendAsync(org.apache.qpid.proton.message.Message,com.microsoft.azure.servicebus.TransactionContext)"
fullName: "com.microsoft.azure.servicebus.primitives.CoreMessageSender.sendAsync(Message msg, TransactionContext transaction)"
name: "sendAsync(Message msg, TransactionContext transaction)"
nameWithType: "CoreMessageSender.sendAsync(Message msg, TransactionContext transaction)"
parameters:
- name: "msg"
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
- name: "transaction"
type: "<xref href=\"com.microsoft.azure.servicebus.TransactionContext?alt=com.microsoft.azure.servicebus.TransactionContext&text=TransactionContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CompletableFuture<Void> sendAsync(Message msg, TransactionContext transaction)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
type: "class"
implements:
- "<xref href=\"com.microsoft.azure.servicebus.amqp.IAmqpSender?alt=com.microsoft.azure.servicebus.amqp.IAmqpSender&text=IAmqpSender\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.IErrorContextProvider?alt=com.microsoft.azure.servicebus.primitives.IErrorContextProvider&text=IErrorContextProvider\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.azure.servicebus.primitives"
artifact: com.microsoft.azure:azure-servicebus:3.6.7