Package org.basex.core.jobs
Class JobContext
java.lang.Object
org.basex.core.jobs.JobContext
Job context.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
FieldsModifier and TypeFieldDescriptionDatabase context.final LocksRegistered locks.Performance measurements.final longTime of creation.Query tracer. -
Method Summary
-
Field Details
-
locks
Registered locks. -
time
public final long timeTime of creation. -
performance
Performance measurements. -
tracer
Query tracer. -
context
Database context.
-
-
Method Details
-
id
Sets a custom id.- Parameters:
string- custom id string
-
id
Returns the id of the root job.- Returns:
- id
-
type
Sets a job type.- Parameters:
type- type
-
description
Sets a job description.- Parameters:
description- description
-
type
Returns the job type.- Returns:
- name
-
toString
-