C# 클래스 Raven.Client.Connection.HttpJsonRequestFactory

Create the HTTP Json Requests to the RavenDB Server and manages the http cache
상속: IDisposable
파일 보기 프로젝트 열기: robashton/ravendb 1 사용 예제들

공개 메소드들

메소드 설명
CreateHttpJsonRequest ( CreateHttpJsonRequestParams createHttpJsonRequestParams ) : HttpJsonRequest

Creates the HTTP json request.

DisableAllCaching ( ) : IDisposable

Disable all caching within the given scope

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ExpireItemsFromCache ( string db ) : void
HttpJsonRequestFactory ( int maxNumberOfCachedRequests ) : System

default ctor

ResetCache ( ) : void

Reset the number of cached requests and clear the entire cache Mostly used for testing

비공개 메소드들

메소드 설명
CacheResponse ( string url, RavenJToken data, NameValueCollection headers ) : void
ConfigureCaching ( string url, string>.Action setHeader ) : CachedRequestOp
GetCachedResponse ( HttpJsonRequest httpJsonRequest, NameValueCollection additionalHeaders = null ) : RavenJToken
IncrementCachedRequests ( ) : void
InvokeLogRequest ( IHoldProfilingInformation sender, Func generateRequestResult ) : void

Invoke the LogRequest event

UpdateCacheTime ( HttpJsonRequest httpJsonRequest ) : void

메소드 상세

CreateHttpJsonRequest() 공개 메소드

Creates the HTTP json request.
public CreateHttpJsonRequest ( CreateHttpJsonRequestParams createHttpJsonRequestParams ) : HttpJsonRequest
createHttpJsonRequestParams CreateHttpJsonRequestParams
리턴 HttpJsonRequest

DisableAllCaching() 공개 메소드

Disable all caching within the given scope
public DisableAllCaching ( ) : IDisposable
리턴 IDisposable

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

ExpireItemsFromCache() 공개 메소드

public ExpireItemsFromCache ( string db ) : void
db string
리턴 void

HttpJsonRequestFactory() 공개 메소드

default ctor
public HttpJsonRequestFactory ( int maxNumberOfCachedRequests ) : System
maxNumberOfCachedRequests int
리턴 System

ResetCache() 공개 메소드

Reset the number of cached requests and clear the entire cache Mostly used for testing
public ResetCache ( ) : void
리턴 void