Top Fields Constructors Methods
sun.print

pack-priv Class ServiceNotifier

extends Thread
Class Inheritance
Imports
java.util.Vector, javax.print.PrintService, javax.print.attribute.PrintServiceAttributeSet, .HashPrintServiceAttributeSet, javax.print.event.PrintServiceAttributeEvent, .PrintServiceAttributeListener

Field Summary

Modifier and TypeField and Description
private PrintServiceAttributeSet
private Vector<PrintServiceAttributeListener>
private PrintService
private boolean
Inherited from java.lang.Thread:
MAX_PRIORITYMIN_PRIORITYNORM_PRIORITY

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv boolean
pack-priv void
public void
run()

Overrides java.lang.Thread.run.

Implements java.lang.Runnable.run.

This method is run by the thread when it executes.
pack-priv void
pack-priv void
wake()

Inherited from java.lang.Thread:
activeCountcheckAccessclonecurrentThreaddumpStackenumerategetAllStackTracesgetContextClassLoadergetDefaultUncaughtExceptionHandlergetIdgetNamegetPrioritygetStackTracegetStategetThreadGroupgetUncaughtExceptionHandlerholdsLockinterruptinterruptedisAliveisDaemonisInterruptedisVirtualjoinjoinjoinjoinofPlatformofVirtualonSpinWaitresumesetContextClassLoadersetDaemonsetDefaultUncaughtExceptionHandlersetNamesetPrioritysetUncaughtExceptionHandlersleepsleepsleepstartstartVirtualThreadstopsuspendthreadIdtoStringyield

Field Detail

lastSetback to summary
private PrintServiceAttributeSet lastSet
listenersback to summary
private Vector<PrintServiceAttributeListener> listeners
serviceback to summary
private PrintService service
stopback to summary
private boolean stop

Constructor Detail

ServiceNotifierback to summary
pack-priv ServiceNotifier(PrintService service)

Method Detail

addListenerback to summary
pack-priv void addListener(PrintServiceAttributeListener listener)
isEmptyback to summary
pack-priv boolean isEmpty()
removeListenerback to summary
pack-priv void removeListener(PrintServiceAttributeListener listener)
runback to summary
public void run()

Overrides java.lang.Thread.run.

Implements java.lang.Runnable.run.

Doc from java.lang.Thread.run.

This method is run by the thread when it executes. Subclasses of Thread may override this method.

This method is not intended to be invoked directly. If this thread is a platform thread created with a Runnable task then invoking this method will invoke the task's run method. If this thread is a virtual thread then invoking this method directly does nothing.

stopNotifierback to summary
pack-priv void stopNotifier()
wakeback to summary
pack-priv void wake()