IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20092


Ignore:
Timestamp:
Oct 13, 2008, 10:49:35 AM (18 years ago)
Author:
jhoblitt
Message:

add Nebulous::Server->swap_objects() method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pod

    r17678 r20092  
    1616    Nebulous::Server->create_object( $key, $volume );
    1717    Nebulous::Server->rename_object( $key, $newkey );
     18    Nebulous::Server->swap_objects( $key1, $key2 );
    1819    Nebulous::Server->replicate_object( $key, $volume );
    1920    Nebulous::Server->lock_object( $key, $type );
     
    163164Accepts 1 parameters, it is mandatory.  Returns Boolean true.  Throws an
    164165exception on error.
     166
     167=item * swap_objects( $key1, $key2 );
     168
     169Accepts 2 parameters, all mandatory.  Atomically swaps the object names of
     170C<$key1> and C<$key2>.  Both objects must already exist.  Return true on
     171success or an exception on error.
    165172
    166173=item * stat_object( $key );
Note: See TracChangeset for help on using the changeset viewer.