protected internal override long GetReadTimeout(RequestType type, long readTimeout) { if (HaRequestTypes_Type.AcquireExclusiveLock.@is(type) || HaRequestTypes_Type.AcquireSharedLock.@is(type)) { return(_lockReadTimeoutMillis); } if (HaRequestTypes_Type.CopyStore.@is(type)) { return(readTimeout * 2); } return(readTimeout); }
protected internal override bool ShouldCheckStoreId(RequestType type) { return(!HaRequestTypes_Type.CopyStore.@is(type)); }
protected internal override void ResponseWritten(RequestType type, Channel channel, RequestContext context) { }