#include <ShortIdBlock.H>
Public Types | |
| enum | { size = 256 } | 
| enum | { leaseNonexpiring = 0x7fffffff } | 
| enum | { leafFlag = 0x80000000, dirFlag = 0x40000000 } | 
Public Member Functions | |
| ShortId | assignNextAvail () throw () | 
| bool | assigned (ShortId s) const throw () | 
| void | set (ShortId s) throw () | 
| bool | leaf () throw () | 
| void | init (ShortId st) throw () | 
Static Public Member Functions | |
| static char * | shortIdToName (ShortId sid, const char *prepend="") throw () | 
| static ShortIdBlock * | acquire (bool leafflag=false) throw (SRPC::failure) | 
| static bool | renew (ShortIdBlock *block) throw (SRPC::failure) | 
| static void | release (ShortIdBlock *block) throw (SRPC::failure) | 
| static int | keepDerived (ShortIdsFile ds, time_t dt, bool force) throw (SRPC::failure) | 
| static void | checkpoint () throw (SRPC::failure) | 
| static void | getWeedingState (ShortIdsFile &ds, time_t &dt, ShortIdsFile &ss, time_t &st, bool &sourceWeedInProgress, bool &deletionsInProgress, bool &deletionsDone, bool &checkpointInProgress) throw (SRPC::failure) | 
Public Attributes | |
| Bit8 | bits [size/8] | 
| ShortId | start | 
| time_t | leaseExpires | 
| ShortId | next | 
      
  | 
  
| 
 
 Definition at line 41 of file ShortIdBlock.H.  | 
  
      
  | 
  
| 
 
 Definition at line 45 of file ShortIdBlock.H.  | 
  
      
  | 
  
| 
 
 Definition at line 51 of file ShortIdBlock.H.  | 
  
      
  | 
  
| 
 
 Definition at line 34 of file ShortIdBlockBogusRPC.C. References AcquireShortIdBlock(), and NEW. Referenced by ShortIdStock::stockboy().  | 
  
      
  | 
  
| 
 
 Definition at line 55 of file ShortIdBlock.H.  | 
  
      
  | 
  
| 
 
 Definition at line 57 of file ShortIdBlock.C. References NullShortId. Referenced by ShortIdStock::newShortId().  | 
  
      
  | 
  
| 
 
 Definition at line 65 of file ShortIdBlockBogusRPC.C. References Checkpoint(). Referenced by SourceOrDerived::checkpoint().  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||||||
| 
 
 Definition at line 72 of file ShortIdBlockBogusRPC.C. References GetWeedingState(). Referenced by SourceOrDerived::getWeedingState().  | 
  
      
  | 
  
| 
 
 Definition at line 61 of file ShortIdBlock.H. References bits, leaseExpires, next, and start.  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 58 of file ShortIdBlockBogusRPC.C. References KeepDerived(). Referenced by SourceOrDerived::keepDerived().  | 
  
      
  | 
  
| 
 
 Definition at line 59 of file ShortIdBlock.H. References SourceOrDerived::leafShortId(), and start.  | 
  
      
  | 
  
| 
 
 Definition at line 51 of file ShortIdBlockBogusRPC.C. References ReleaseShortIdBlock().  | 
  
      
  | 
  
| 
 
 Definition at line 43 of file ShortIdBlockBogusRPC.C. Referenced by ShortIdStock::stockboy().  | 
  
      
  | 
  
| 
 
 Definition at line 57 of file ShortIdBlock.H.  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 71 of file ShortIdBlock.C. References Text::cchars(), NEW_PTRFREE_ARRAY, and PathnameSep. Referenced by AcquireShortIdBlock(), any_fattr(), apply_sattr(), CopyShortId(), VLeaf::setTimestamp(), and SourceOrDerived::shortIdToName().  | 
  
      
  | 
  
| 
 
 Definition at line 42 of file ShortIdBlock.H. Referenced by assigned(), init(), and set().  | 
  
      
  | 
  
| 
 
 Definition at line 44 of file ShortIdBlock.H. Referenced by init(), and ShortIdStock::stockboy().  | 
  
      
  | 
  
| 
 
 Definition at line 52 of file ShortIdBlock.H. Referenced by init().  | 
  
      
  | 
  
| 
 
 Definition at line 43 of file ShortIdBlock.H. Referenced by assigned(), init(), leaf(), set(), ShortIdReceptionist(), and ShortIdStock::stockboy().  | 
  
 1.4.2