IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16180


Ignore:
Timestamp:
Jan 22, 2008, 11:25:43 AM (18 years ago)
Author:
jhoblitt
Message:

remove references to class & comment params of create() & open_create() methods (long since removed)

Location:
trunk
Files:
4 edited

Legend:

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

    r13089 r16180  
    1414    Nebulous::Server->sql( $sql );
    1515    Nebulous::Server->config( $config );
    16     Nebulous::Server->create_object( $key, $class, $volume, $comment );
     16    Nebulous::Server->create_object( $key, $volume );
    1717    Nebulous::Server->rename_object( $key, $newkey );
    1818    Nebulous::Server->replicate_object( $key, $volume );
     
    5555exception on error.
    5656
    57 =item * create_object( $key, $class, $volume, $comment );
     57=item * create_object( $key, $volume );
    5858
    5959Accepts 4 parameters, only the first is mandatory.  Returns a URI.  Throws an
     
    8888
    8989Accepts 1 parameters, it is mandatory.  Returns a list of: so_id, ext_id,
    90 class_id, comment, read_lock, write_lock, epoch.
     90read_lock, write_lock, epoch.
    9191
    9292=back
  • trunk/Nebulous/bin/neb-touch

    r16179 r16180  
    33# Copyright (C) 2007-2008  Joshua Hoblitt
    44#
    5 # $Id: neb-touch,v 1.3 2008-01-22 21:14:55 jhoblitt Exp $
     5# $Id: neb-touch,v 1.4 2008-01-22 21:25:43 jhoblitt Exp $
    66
    77use strict;
     
    4141
    4242unless ($neb->find($file)) {
    43     $neb->create($file, 0, $volume)
     43    $neb->create($file, $volume)
    4444        or die "failed to create Nebulous key $file";
    4545}
  • trunk/Nebulous/lib/Nebulous/Client.pod

    r13255 r16180  
    1313    );
    1414
    15     my $uri = $neb->create( "key", 0, "node01", "example" );
    16     my $fh = $neb->open_create( "key", 0, "node01", "example" );
     15    my $uri = $neb->create( "key", "node01" );
     16    my $fh = $neb->open_create( "key", "node01" );
    1717    $neb->replicate( "key", "node01" );
    1818    $neb->cull( "key", "node01" );
     
    8787
    8888
    89 =item * create($key, $class, $volume, $comment).
     89=item * create($key, $volume).
    9090
    9191Creates a new storage object.
     
    9797The storage object key (name).
    9898
    99 =item * class
    100 
    101 The storage class.
    102 
    103 This parameter is optional.
    104 
    10599=item * volume
    106100
     
    109103This parameter is optional.
    110104
    111 =item * comment
    112 
    113 The storage object comment.
    114 
    115 This parameter is optional.
    116 
    117105=back
    118106
     
    120108
    121109
    122 =item * open_create($key, $class, $volume, $comment).
     110=item * open_create($key, $volume).
    123111
    124112Creates and opens new storage object.
     
    130118The storage object key (name).
    131119
    132 =item * class
    133 
    134 The storage class.
    135 
    136 This parameter is optional.
    137 
    138120=item * volume
    139121
    140122The preferred storage location of initial instance.
    141 
    142 This parameter is optional.
    143 
    144 =item * comment
    145 
    146 The storage object comment.
    147123
    148124This parameter is optional.
  • trunk/Nebulous/lib/Nebulous/Server.pod

    r13089 r16180  
    1414    Nebulous::Server->sql( $sql );
    1515    Nebulous::Server->config( $config );
    16     Nebulous::Server->create_object( $key, $class, $volume, $comment );
     16    Nebulous::Server->create_object( $key, $volume );
    1717    Nebulous::Server->rename_object( $key, $newkey );
    1818    Nebulous::Server->replicate_object( $key, $volume );
     
    5555exception on error.
    5656
    57 =item * create_object( $key, $class, $volume, $comment );
     57=item * create_object( $key, $volume );
    5858
    5959Accepts 4 parameters, only the first is mandatory.  Returns a URI.  Throws an
     
    8888
    8989Accepts 1 parameters, it is mandatory.  Returns a list of: so_id, ext_id,
    90 class_id, comment, read_lock, write_lock, epoch.
     90read_lock, write_lock, epoch.
    9191
    9292=back
Note: See TracChangeset for help on using the changeset viewer.