BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.security
Class SpinnerRandomBitsSource

java.lang.Object
  |
  +--weblogic.security.RandomBitsSource
        |
        +--weblogic.security.SpinnerRandomBitsSource

public class SpinnerRandomBitsSource
extends weblogic.security.RandomBitsSource
implements java.lang.Runnable

Random number generator. Caller starts a spinner thread which increments a counter. The random byte is based on the number of loop iterations performed in a time interval. The time interval varies (1 to MAX_TIMEOUT millis) based on the system time, and the current counter.

Author:
Copyright (c) 2001 by BEA, Inc. All Rights Reserved.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
SpinnerRandomBitsSource()
           
 
Method Summary
 byte randomByte()
           
 void run()
           
 void seed(byte[] b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpinnerRandomBitsSource

public SpinnerRandomBitsSource()
Method Detail

seed

public void seed(byte[] b)

Overrides:
seed in class weblogic.security.RandomBitsSource

randomByte

public byte randomByte()

Overrides:
randomByte in class weblogic.security.RandomBitsSource

run

public void run()
Specified by:
run in interface java.lang.Runnable


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.