Microsoft_WindowsAzure
[ class tree: Microsoft_WindowsAzure ] [ index: Microsoft_WindowsAzure ] [ all elements ]

Class: Microsoft_WindowsAzure_Storage_Batch

Source Location: /WindowsAzure/Storage/Batch.php

Class Overview




Author(s):

Copyright:

  • Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)

Variables

Methods



Class Details

[line 48]


Tags:

copyright:  Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)
license:  http://phpazure.codeplex.com/license


[ Top ]


Class Variables

$_baseUrl =

[line 69]

Base URL



Tags:

access:  protected

Type:   string


[ Top ]

$_forTableStorage =  false

[line 62]

For table storage?



Tags:

access:  protected

Type:   boolean


[ Top ]

$_isSingleSelect =  false

[line 83]

Does the batch contain a single select?



Tags:

access:  protected

Type:   boolean


[ Top ]

$_operations = array()

[line 76]

Pending operations



Tags:

access:  protected

Type:   unknown_type


[ Top ]

$_storageClient =  null

[line 55]

Storage client the batch is defined on



Tags:

access:  protected



[ Top ]



Class Methods


constructor __construct [line 90]

Microsoft_WindowsAzure_Storage_Batch __construct( [Microsoft_WindowsAzure_Storage_BatchStorageAbstract $storageClient = null], [ $baseUrl = ''])

Creates a new Microsoft_WindowsAzure_Storage_Batch



Tags:

access:  public


Parameters:

Microsoft_WindowsAzure_Storage_BatchStorageAbstract   $storageClient   Storage client the batch is defined on
   $baseUrl  

[ Top ]

method commit [line 207]

Microsoft_Http_Response commit( )

Commit current batch



Tags:

throws:  Microsoft_WindowsAzure_Exception
access:  public


[ Top ]

method enlistOperation [line 139]

void enlistOperation( [string $path = '/'], [string $queryString = ''], [string $httpVerb = Microsoft_Http_Client::GET], [array $headers = array()], [boolean $forTableStorage = false], [mixed $rawData = null])

Enlist operation in current batch



Tags:

throws:  Microsoft_WindowsAzure_Exception
access:  public


Parameters:

string   $path   Path
string   $queryString   Query string
string   $httpVerb   HTTP verb the request will use
array   $headers   x-ms headers to add
boolean   $forTableStorage   Is the request for table storage?
mixed   $rawData   Optional RAW HTTP data to be sent over the wire

[ Top ]

method getBaseUrl [line 102]

string getBaseUrl( )

Get base URL for creating requests



Tags:

access:  public


[ Top ]

method getOperationCount [line 242]

integer getOperationCount( )

Get operation count



Tags:

access:  public


[ Top ]

method isSingleSelect [line 252]

boolean isSingleSelect( )

Is single select?



Tags:

access:  public


[ Top ]

method rollback [line 231]

void rollback( )

Rollback current batch



Tags:

access:  public


[ Top ]

method _beginBatch [line 112]

void _beginBatch( )

Starts a new batch operation set



Tags:

throws:  Microsoft_WindowsAzure_Exception
access:  protected


[ Top ]

method _clean [line 120]

void _clean( )

Cleanup current batch



Tags:

access:  protected


[ Top ]


Documentation generated on Wed, 18 May 2011 12:06:05 +0200 by phpDocumentor 1.4.3