메소드 | 설명 | |
---|---|---|
Audit ( MonkeyWrench who, string action ) : void | ||
BeginTransaction ( ) : IDbTransaction | ||
ClearAllWork ( int lane_id, int host_id ) : void | ||
ClearWork ( int lane_id, int revision_id, int host_id ) : void | ||
CloneLane ( int lane_id, string new_name, bool copy_files ) : |
||
CreateCommand ( ) : IDbCommand |
Creates a command with a default timeout of 300 seconds.
|
|
CreateCommand ( System.TimeSpan Timeout ) : IDbCommand |
Creates a command with the specified timeout. A timeout of 0 means infinity.
|
|
CreateCommand ( string query ) : IDbCommand | ||
CreateParameter ( IDbCommand cmd, string name, object value ) : void | ||
DB ( ) : System | ||
DB ( bool Connect ) : System | ||
DeleteAllWork ( int lane_id, int host_id ) : void | ||
DeleteFiles ( int host_id, int lane_id, int revision_id ) : void |
Deletes all the files related to the work in the revision 'revision_id' of lane 'lane' on the host 'host'.
|
|
DeleteLinks ( int host_id, int lane_id, int revision_id ) : void | ||
DeleteWork ( int lane_id, int revision_id, int host_id ) : void | ||
Dispose ( ) : void | ||
Download ( |
||
Download ( MonkeyWrench.DataClasses.DBWorkFile file ) : Stream | ||
Download ( |
||
ExecuteNonQuery ( string sql ) : int | ||
ExecuteScalar ( string sql ) : object | ||
GetAllHostLanes ( ) : List |
||
GetAllLaneFiles ( ) : List |
||
GetAllLanes ( ) : List |
Returns all the lanes in the database.
|
|
GetCommands ( int lane_id ) : List |
||
GetDBRevisions ( int lane_id, bool ordered ) : DBRevision>.Dictionary |
||
GetDBRevisions ( int lane_id, int limit, bool ordered = true ) : List |
||
GetDBRevisions ( int lane_id, int limit, int offset, bool ordered = true ) : List |
||
GetHostLane ( int host_id, int lane_id ) : |
||
GetHosts ( ) : List |
||
GetHostsForLane ( int lane_id ) : List |
||
GetLane ( int id ) : |
Returns lane that matches lane_id in the database
|
|
GetLaneHierarchy ( int lane_id ) : List |
This will return a list of lane ids: [0]: input lane_id [1]: [0]'s parent lane id [2]: [1]'s parent lane id etc
|
|
GetLanes ( ) : List |
Returns all the lanes for which there are revisions in the database
|
|
GetLanesForHost ( int host_id, bool only_enabled ) : List |
||
GetLargeObjectSize ( int oid ) : int | ||
GetLastRevision ( string lane ) : int | ||
GetNextStep ( string lane ) : DBWork | ||
GetRevision ( string lane, int revision ) : DBRevision | ||
GetRevisionWork ( DBLane lane, DBHost host, DBHost workhost ) : DBRevisionWork |
Will return a locked revision work.
|
|
GetRevisions ( string lane, int limit ) : List |
||
GetSize ( int file_id ) : int | ||
GetWork ( DBRevisionWork revisionwork ) : List |
||
HasWork ( int lane_id, int revision_id, int host_id ) : bool | ||
IgnoreWork ( int lane_id, int revision_id, int host_id ) : void | ||
IsLatestRevisionWork ( DBRevisionWork current ) : bool |
Checks if the specified RevisionWork is the latest.
|
|
LookupHost ( string host ) : DBHost | ||
LookupHost ( string host, bool throwOnError ) : DBHost | ||
LookupLane ( string lane ) : DBLane | ||
LookupLane ( string lane, bool throwOnError ) : DBLane | ||
Upload ( string filename, string extension, bool hidden, string compressed_mime ) : DBFile |
|
|
Upload ( string md5, string path_to_contents, string filename, string extension, bool hidden, string compressed_mime ) : DBFile | ||
UploadString ( string contents, string extension, bool hidden ) : DBFile |
메소드 | 설명 | |
---|---|---|
Connect ( ) : void |
public Audit ( MonkeyWrench who, string action ) : void | ||
who | MonkeyWrench | |
action | string | |
리턴 | void |
public ClearAllWork ( int lane_id, int host_id ) : void | ||
lane_id | int | |
host_id | int | |
리턴 | void |
public ClearWork ( int lane_id, int revision_id, int host_id ) : void | ||
lane_id | int | |
revision_id | int | |
host_id | int | |
리턴 | void |
public CloneLane ( int lane_id, string new_name, bool copy_files ) : |
||
lane_id | int | |
new_name | string | |
copy_files | bool | |
리턴 |
public CreateCommand ( System.TimeSpan Timeout ) : IDbCommand | ||
Timeout | System.TimeSpan | |
리턴 | IDbCommand |
public CreateCommand ( string query ) : IDbCommand | ||
query | string | |
리턴 | IDbCommand |
public static CreateParameter ( IDbCommand cmd, string name, object value ) : void | ||
cmd | IDbCommand | |
name | string | |
value | object | |
리턴 | void |
public DeleteAllWork ( int lane_id, int host_id ) : void | ||
lane_id | int | |
host_id | int | |
리턴 | void |
public DeleteFiles ( int host_id, int lane_id, int revision_id ) : void | ||
host_id | int | |
lane_id | int | |
revision_id | int | |
리턴 | void |
public DeleteLinks ( int host_id, int lane_id, int revision_id ) : void | ||
host_id | int | |
lane_id | int | |
revision_id | int | |
리턴 | void |
public DeleteWork ( int lane_id, int revision_id, int host_id ) : void | ||
lane_id | int | |
revision_id | int | |
host_id | int | |
리턴 | void |
public Download ( |
||
file | ||
리턴 | Stream |
public Download ( MonkeyWrench.DataClasses.DBWorkFile file ) : Stream | ||
file | MonkeyWrench.DataClasses.DBWorkFile | |
리턴 | Stream |
public Download ( |
||
file | ||
리턴 | Stream |
public GetDBRevisions ( int lane_id, bool ordered ) : DBRevision>.Dictionary |
||
lane_id | int | |
ordered | bool | |
리턴 | DBRevision>.Dictionary |
public GetDBRevisions ( int lane_id, int limit, bool ordered = true ) : List |
||
lane_id | int | |
limit | int | |
ordered | bool | |
리턴 | List |
public GetDBRevisions ( int lane_id, int limit, int offset, bool ordered = true ) : List |
||
lane_id | int | |
limit | int | |
offset | int | |
ordered | bool | |
리턴 | List |
public GetHostLane ( int host_id, int lane_id ) : |
||
host_id | int | |
lane_id | int | |
리턴 |
public GetLanesForHost ( int host_id, bool only_enabled ) : List |
||
host_id | int | |
only_enabled | bool | |
리턴 | List |
public GetRevision ( string lane, int revision ) : DBRevision | ||
lane | string | |
revision | int | |
리턴 | DBRevision |
public GetRevisionWork ( DBLane lane, DBHost host, DBHost workhost ) : DBRevisionWork | ||
lane | DBLane | |
host | DBHost | |
workhost | DBHost | |
리턴 | DBRevisionWork |
public GetRevisions ( string lane, int limit ) : List |
||
lane | string | |
limit | int | |
리턴 | List |
public GetWork ( DBRevisionWork revisionwork ) : List |
||
revisionwork | DBRevisionWork | |
리턴 | List |
public HasWork ( int lane_id, int revision_id, int host_id ) : bool | ||
lane_id | int | |
revision_id | int | |
host_id | int | |
리턴 | bool |
public IgnoreWork ( int lane_id, int revision_id, int host_id ) : void | ||
lane_id | int | |
revision_id | int | |
host_id | int | |
리턴 | void |
public IsLatestRevisionWork ( DBRevisionWork current ) : bool | ||
current | DBRevisionWork | |
리턴 | bool |
public LookupHost ( string host, bool throwOnError ) : DBHost | ||
host | string | |
throwOnError | bool | |
리턴 | DBHost |
public LookupLane ( string lane, bool throwOnError ) : DBLane | ||
lane | string | |
throwOnError | bool | |
리턴 | DBLane |
public Upload ( string filename, string extension, bool hidden, string compressed_mime ) : DBFile | ||
filename | string | |
extension | string | |
hidden | bool | |
compressed_mime | string | |
리턴 | DBFile |
public Upload ( string md5, string path_to_contents, string filename, string extension, bool hidden, string compressed_mime ) : DBFile | ||
md5 | string | |
path_to_contents | string | |
filename | string | |
extension | string | |
hidden | bool | |
compressed_mime | string | |
리턴 | DBFile |
public UploadString ( string contents, string extension, bool hidden ) : DBFile | ||
contents | string | |
extension | string | |
hidden | bool | |
리턴 | DBFile |