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

46 строки
3.2 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.servicebus.primitives.Timer"
fullName: "com.microsoft.azure.servicebus.primitives.Timer"
name: "Timer"
nameWithType: "Timer"
summary: "An abstraction for a Scheduler functionality - which can later be replaced by a light-weight Thread"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- 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#finalize--\">finalize</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 final class **Timer**"
methods:
- uid: "com.microsoft.azure.servicebus.primitives.Timer.schedule(java.lang.Runnable,java.time.Duration,com.microsoft.azure.servicebus.primitives.TimerType)"
fullName: "com.microsoft.azure.servicebus.primitives.Timer.schedule(Runnable runnable, Duration runFrequency, TimerType timerType)"
name: "schedule(Runnable runnable, Duration runFrequency, TimerType timerType)"
nameWithType: "Timer.schedule(Runnable runnable, Duration runFrequency, TimerType timerType)"
modifiers:
- "static"
parameters:
- name: "runnable"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html\">Runnable</a>"
- name: "runFrequency"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- name: "timerType"
type: "<xref href=\"com.microsoft.azure.servicebus.primitives.TimerType?alt=com.microsoft.azure.servicebus.primitives.TimerType&text=TimerType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static ScheduledFuture<?> schedule(Runnable runnable, Duration runFrequency, TimerType timerType)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledFuture.html\">ScheduledFuture</a>&lt;?&gt;"
type: "class"
desc: "An abstraction for a Scheduler functionality - which can later be replaced by a light-weight Thread"
metadata: {}
package: "com.microsoft.azure.servicebus.primitives"
artifact: com.microsoft.azure:azure-servicebus:3.6.7