ProgramixGenericLib v5.0.1

Uses of Class
com.programix.thread.ShutdownException

Packages that use ShutdownException
com.programix.thread Java multithreading related utilities. 
com.programix.thread.ix Java multithreading related utilities that use the standard java.lang.InterruptedException (which is a "must-catch" aka "checked" exception). 
 

Uses of ShutdownException in com.programix.thread
 

Methods in com.programix.thread that throw ShutdownException
 void Counter.decrement()
           
 int Counter.getCount()
           
 boolean BooleanState.ifFalseSetTrue()
          If the current state is false, then the state is changed to true.
 boolean BooleanState.ifTrueSetFalse()
          If the current state is true, then the state is changed to false.
 void Counter.increment()
           
 boolean BooleanState.isFalse()
          Returns true if the internal state is currently false.
 boolean Waiter.Condition.isFalse()
          Returns true if the expression specified at construction currently evaluates to false.
 boolean Counter.isNotZero()
           
 boolean BooleanState.isTrue()
          Returns true if the internal state is currently true.
 boolean Waiter.Condition.isTrue()
          Returns true if the expression specified at construction currently evaluates to true.
 boolean Counter.isZero()
           
 void Counter.setCount(int newCount)
           
 void BooleanState.setState(boolean newState)
          Sets the internal state to the specified newState.
 void Waiter.shutdownCheck()
          Immediately throws a ShutdownException if any thread has previously called Waiter.shutdown.
 void BooleanState.toggleState()
          Sets the internal state to the opposite of whatever is was before the call.
 void BooleanState.waitUntilFalse()
          Waits until the state is false.
 void BooleanState.waitUntilFalse(long msTimeout)
          Waits until the state is false up to the specified maximum amount of time.
 void Counter.waitUntilNegative()
          Waits until the count is a negative number (less than zero).
 void Counter.waitUntilNegative(long msTimeout)
          Waits until the count is a negative number (less than zero).
 void Counter.waitUntilPositive()
          Waits until the count is a positive number (greater than zero).
 void Counter.waitUntilPositive(long msTimeout)
          Waits until the count is a positive number (greater than zero).
 void BooleanState.waitUntilTrue()
          Waits until the state is true.
 void Waiter.Condition.waitUntilTrue()
          Waits (for an unlimited amount of time) for the supplied expression to evaluate to true.
 void BooleanState.waitUntilTrue(long msTimeout)
          Waits until the state is true up to the specified maximum amount of time.
 boolean Waiter.Condition.waitUntilTrue(long msTimeout)
          Waits (up to a maximum amount of time) for the supplied expression to evaluate to true.
 void Waiter.Condition.waitUntilTrueWithTimedOutException(long msTimeout)
          Waits (up to a maximum amount of time) for the supplied expression to evaluate to true.
 void Counter.waitUntilZero()
          Waits until the count is exactly zero.
 void Counter.waitUntilZero(long msTimeout)
          Waits until the count is exactly zero.
 void BooleanState.waitWhileFalse()
          Waits while the state is false.
 void BooleanState.waitWhileFalse(long msTimeout)
          Waits while the state is false up to the specified maximum amount of time.
 void Counter.waitWhileNegative()
          Waits while the count is a negative number (less than zero).
 void Counter.waitWhileNegative(long msTimeout)
          Waits while the count is a negative number (less than zero).
 void Counter.waitWhilePositive()
          Waits while the count is a positive number (greater than zero).
 void Counter.waitWhilePositive(long msTimeout)
          Waits while the count is a positive number (greater than zero).
 void BooleanState.waitWhileTrue()
          Waits while the state is true.
 void Waiter.Condition.waitWhileTrue()
          Waits (for an unlimited amount of time) for the supplied expression to evaluate to false.
 void BooleanState.waitWhileTrue(long msTimeout)
          Waits while the state is true up to the specified maximum amount of time.
 boolean Waiter.Condition.waitWhileTrue(long msTimeout)
          Waits (up to a maximum amount of time) for the supplied expression to evaluate to false.
 void Waiter.Condition.waitWhileTrueWithTimedOutException(long msTimeout)
          Waits (up to a maximum amount of time) for the supplied expression to evaluate to false.
 void Counter.waitWhileZero()
          Waits while the count is exactly zero.
 void Counter.waitWhileZero(long msTimeout)
          Waits while the count is exactly zero.
 

Uses of ShutdownException in com.programix.thread.ix
 

Methods in com.programix.thread.ix that throw ShutdownException
 boolean WaiterIx.Condition.isFalse()
          Returns true if the expression specified at construction currently evaluates to false.
 boolean WaiterIx.Condition.isTrue()
          Returns true if the expression specified at construction currently evaluates to true.
 void WaiterIx.shutdownCheck()
          Immediately throws a ShutdownException if any thread has previously called WaiterIx.shutdown.
 void WaiterIx.Condition.waitUntilTrue()
          Waits (for an unlimited amount of time) for the supplied expression to evaluate to true.
 boolean WaiterIx.Condition.waitUntilTrue(long msTimeout)
          Waits (up to a maximum amount of time) for the supplied expression to evaluate to true.
 void WaiterIx.Condition.waitUntilTrueWithTimedOutException(long msTimeout)
          Waits (up to a maximum amount of time) for the supplied expression to evaluate to true.
 void WaiterIx.Condition.waitWhileTrue()
          Waits (for an unlimited amount of time) for the supplied expression to evaluate to false.
 boolean WaiterIx.Condition.waitWhileTrue(long msTimeout)
          Waits (up to a maximum amount of time) for the supplied expression to evaluate to false.
 void WaiterIx.Condition.waitWhileTrueWithTimedOutException(long msTimeout)
          Waits (up to a maximum amount of time) for the supplied expression to evaluate to false.
 


ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.