C# 클래스 SenseNet.ContentRepository.RepositoryInstance

Represents a running Repository. There is always one instance in any appdomain. Repository will be stopped when the instance is disposing.
상속: IDisposable
파일 보기 프로젝트 열기: maxpavlov/FlexNet 1 사용 예제들

공개 메소드들

메소드 설명
ConsoleWrite ( ) : void
ConsoleWriteLine ( ) : void
Dispose ( ) : void
StartLucene ( ) : void

Starts Lucene if it is not running.

StartWorkflowEngine ( ) : void

Starts workflow engine if it is not running.

WaitForWriterLockFileIsReleased ( ) : bool

Waits for releasing index writer lock file in the configured index directory. Timeout: configured with IndexLockFileWaitForRemovedTimeout key. Returns true if the lock was released. Returns false if the time has expired.

WaitForWriterLockFileIsReleased ( string indexDirectory ) : bool

Waits for releasing index writer lock file in the specified directory. Timeout: configured with IndexLockFileWaitForRemovedTimeout key. Returns true if the lock was released. Returns false if the time has expired.

WaitForWriterLockFileIsReleased ( string indexDirectory, int timeout ) : bool

Waits for releasing index writer lock file in the specified directory and timeout. Returns true if the lock was released. Returns false if the time has expired.

WaitForWriterLockFileIsReleased ( WaitForLockFileType waitType ) : void

Waits for write.lock to disappear for a configured time interval. Timeout: configured with IndexLockFileWaitForRemovedTimeout key. If timeout is exceeded an error is logged and execution continues. For errors at OnStart an email is also sent to a configured address.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void
DoStart ( ) : void
Domain_AssemblyLoad ( object sender, AssemblyLoadEventArgs args ) : void
Domain_AssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly
Domain_ReflectionOnlyAssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly
Domain_ResourceResolve ( object sender, ResolveEventArgs args ) : Assembly
Domain_TypeResolve ( object sender, ResolveEventArgs args ) : Assembly
Domain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
GetLoadedAsmNames ( ) : IEnumerable
LoadAssemblies ( ) : void
RegisterAppdomainEventHandlers ( ) : void
RemoveIndexWriterLockFile ( ) : void
RepositoryInstance ( ) : System
RestoreIndexOnStartup ( ) : bool
SendWaitForLockErrorMail ( ) : void
Shutdown ( ) : void
Start ( RepositoryStartSettings settings ) : RepositoryInstance
StartManagers ( ) : void
Started ( ) : bool

메소드 상세

ConsoleWrite() 공개 메소드

public ConsoleWrite ( ) : void
리턴 void

ConsoleWriteLine() 공개 메소드

public ConsoleWriteLine ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

StartLucene() 공개 메소드

Starts Lucene if it is not running.
public StartLucene ( ) : void
리턴 void

StartWorkflowEngine() 공개 메소드

Starts workflow engine if it is not running.
public StartWorkflowEngine ( ) : void
리턴 void

WaitForWriterLockFileIsReleased() 공개 정적인 메소드

Waits for releasing index writer lock file in the configured index directory. Timeout: configured with IndexLockFileWaitForRemovedTimeout key. Returns true if the lock was released. Returns false if the time has expired.
public static WaitForWriterLockFileIsReleased ( ) : bool
리턴 bool

WaitForWriterLockFileIsReleased() 공개 정적인 메소드

Waits for releasing index writer lock file in the specified directory. Timeout: configured with IndexLockFileWaitForRemovedTimeout key. Returns true if the lock was released. Returns false if the time has expired.
public static WaitForWriterLockFileIsReleased ( string indexDirectory ) : bool
indexDirectory string
리턴 bool

WaitForWriterLockFileIsReleased() 공개 정적인 메소드

Waits for releasing index writer lock file in the specified directory and timeout. Returns true if the lock was released. Returns false if the time has expired.
public static WaitForWriterLockFileIsReleased ( string indexDirectory, int timeout ) : bool
indexDirectory string
timeout int Timeout in milliseconds.
리턴 bool

WaitForWriterLockFileIsReleased() 공개 정적인 메소드

Waits for write.lock to disappear for a configured time interval. Timeout: configured with IndexLockFileWaitForRemovedTimeout key. If timeout is exceeded an error is logged and execution continues. For errors at OnStart an email is also sent to a configured address.
public static WaitForWriterLockFileIsReleased ( WaitForLockFileType waitType ) : void
waitType WaitForLockFileType A parameter that influences the logged error message and email template only.
리턴 void