net.commerce.zocalo.user
Class Liquidator

java.lang.Object
  extended by net.commerce.zocalo.user.Liquidator

public class Liquidator
extends java.lang.Object

A Liquidator is used in some experiment scenarios in which traders can borrow against their holdings. If the trader's net worth is less than the loan, a liquidator will sequester the trader's assets and sell them off for the best available price.


Constructor Summary
Liquidator(Borrower b, long mSecs, BinaryClaim claim, BinaryMarket market)
           
 
Method Summary
 Quantity couponsRemaining()
           
static IndividualTimingEvent repaidDebtEvent(Borrower deadbeat)
           
 void startLiquidating(long initialDelay)
           
static void stopAllLiquidators()
           
static IndividualTimingEvent unrepaidDebtEvent(Borrower deadbeat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Liquidator

public Liquidator(Borrower b,
                  long mSecs,
                  BinaryClaim claim,
                  BinaryMarket market)
Method Detail

stopAllLiquidators

public static void stopAllLiquidators()

couponsRemaining

public Quantity couponsRemaining()

startLiquidating

public void startLiquidating(long initialDelay)

repaidDebtEvent

public static IndividualTimingEvent repaidDebtEvent(Borrower deadbeat)

unrepaidDebtEvent

public static IndividualTimingEvent unrepaidDebtEvent(Borrower deadbeat)