Java org.eclipse.jgit.internal.storage.file LockFile fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.internal.storage.file LockFile fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.internal.storage.file LockFile.

The text is from its open source code.

Constructor

LockFile(File f)
Create a new lock for any file.

Method

booleancommit()
Commit this change and release the lock.
OutputStreamgetOutputStream()
Obtain the direct output stream for this lock.
booleanlock()
Try to establish the lock.
voidunlock()
Unlock this file and abort this change.
voidwrite(ObjectId id)
Write an ObjectId and LF to the temporary file.
voidwrite(byte[] content)
Write arbitrary data to the temporary file.