com.sun.grid.jgdi.configuration
public interface SchedConf extends GEObject
Warning: The SchedConf class will not be compatible with future Sun™ Grid Engine releases.
Modifier and Type | Method and Description |
---|---|
void |
addJobLoadAdjustments(ComplexEntry ajobLoadAdjustments)
Add a com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
java.lang.String |
dump() |
java.lang.String |
getAlgorithm()
Get the value of the algorithm attribute.
|
double |
getCompensationFactor()
Get the value of the compensationFactor attribute.
|
java.lang.String |
getDefaultDuration()
Get the value of the defaultDuration attribute.
|
double |
getDefaultUsageWeight()
Get the default value of the attribute usageWeight.
|
int |
getFlushFinishSec()
Get the value of the flushFinishSec attribute.
|
int |
getFlushSubmitSec()
Get the value of the flushSubmitSec attribute.
|
java.lang.String |
getHalflifeDecayList()
Get the value of the halflifeDecayList attribute.
|
int |
getHalftime()
Get the value of the halftime attribute.
|
ComplexEntry |
getJobLoadAdjustments(int index)
Get a com.sun.grid.jgdi.configuration.ComplexEntry attribute at an index.
|
int |
getJobLoadAdjustmentsCount()
Get the number of com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
java.util.List<ComplexEntry> |
getJobLoadAdjustmentsList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
java.lang.String |
getLoadAdjustmentDecayTime()
Get the value of the loadAdjustmentDecayTime attribute.
|
java.lang.String |
getLoadFormula()
Get the value of the loadFormula attribute.
|
int |
getMaxFunctionalJobsToSchedule()
Get the value of the maxFunctionalJobsToSchedule attribute.
|
int |
getMaxPendingTasksPerJob()
Get the value of the maxPendingTasksPerJob attribute.
|
int |
getMaxReservation()
Get the value of the maxReservation attribute.
|
int |
getMaxujobs()
Get the value of the maxujobs attribute.
|
java.lang.String |
getParams()
Get the value of the params attribute.
|
java.lang.String |
getPolicyHierarchy()
Get the value of the policyHierarchy attribute.
|
int |
getQueueSortMethod()
Get the value of the queueSortMethod attribute.
|
java.lang.String |
getReprioritizeInterval()
Get the value of the reprioritizeInterval attribute.
|
java.lang.String |
getScheddJobInfo()
Get the value of the scheddJobInfo attribute.
|
java.lang.String |
getScheduleInterval()
Get the value of the scheduleInterval attribute.
|
double |
getUsageWeight(java.lang.String key)
Get the usageWeight attribute for
key . |
int |
getUsageWeightCount()
Get the number of keys which have the attribute usageWeight set.
|
java.util.Set<java.lang.String> |
getUsageWeightKeys()
Get the set of
key s which have the attribute usageWeight set. |
double |
getWeightDeadline()
Get the value of the weightDeadline attribute.
|
double |
getWeightDepartment()
Get the value of the weightDepartment attribute.
|
double |
getWeightJob()
Get the value of the weightJob attribute.
|
double |
getWeightPriority()
Get the value of the weightPriority attribute.
|
double |
getWeightProject()
Get the value of the weightProject attribute.
|
double |
getWeightTicket()
Get the value of the weightTicket attribute.
|
int |
getWeightTicketsFunctional()
Get the value of the weightTicketsFunctional attribute.
|
int |
getWeightTicketsOverride()
Get the value of the weightTicketsOverride attribute.
|
int |
getWeightTicketsShare()
Get the value of the weightTicketsShare attribute.
|
double |
getWeightUrgency()
Get the value of the weightUrgency attribute.
|
double |
getWeightUser()
Get the value of the weightUser attribute.
|
double |
getWeightWaitingTime()
Get the value of the weightWaitingTime attribute.
|
boolean |
isReportPjobTickets()
Get the value of the reportPjobTickets attribute.
|
boolean |
isSetAlgorithm()
Determine if any algorithm attribute is set
|
boolean |
isSetCompensationFactor()
Determine if any compensationFactor attribute is set
|
boolean |
isSetDefaultDuration()
Determine if any defaultDuration attribute is set
|
boolean |
isSetFlushFinishSec()
Determine if any flushFinishSec attribute is set
|
boolean |
isSetFlushSubmitSec()
Determine if any flushSubmitSec attribute is set
|
boolean |
isSetHalflifeDecayList()
Determine if any halflifeDecayList attribute is set
|
boolean |
isSetHalftime()
Determine if any halftime attribute is set
|
boolean |
isSetJobLoadAdjustments()
Determine if any jobLoadAdjustments attribute is set
|
boolean |
isSetLoadAdjustmentDecayTime()
Determine if any loadAdjustmentDecayTime attribute is set
|
boolean |
isSetLoadFormula()
Determine if any loadFormula attribute is set
|
boolean |
isSetMaxFunctionalJobsToSchedule()
Determine if any maxFunctionalJobsToSchedule attribute is set
|
boolean |
isSetMaxPendingTasksPerJob()
Determine if any maxPendingTasksPerJob attribute is set
|
boolean |
isSetMaxReservation()
Determine if any maxReservation attribute is set
|
boolean |
isSetMaxujobs()
Determine if any maxujobs attribute is set
|
boolean |
isSetParams()
Determine if any params attribute is set
|
boolean |
isSetPolicyHierarchy()
Determine if any policyHierarchy attribute is set
|
boolean |
isSetQueueSortMethod()
Determine if any queueSortMethod attribute is set
|
boolean |
isSetReportPjobTickets()
Determine if any reportPjobTickets attribute is set
|
boolean |
isSetReprioritizeInterval()
Determine if any reprioritizeInterval attribute is set
|
boolean |
isSetScheddJobInfo()
Determine if any scheddJobInfo attribute is set
|
boolean |
isSetScheduleInterval()
Determine if any scheduleInterval attribute is set
|
boolean |
isSetShareFunctionalShares()
Determine if any shareFunctionalShares attribute is set
|
boolean |
isSetShareOverrideTickets()
Determine if any shareOverrideTickets attribute is set
|
boolean |
isSetUsageWeight()
Determine if any usageWeight attribute is set
|
boolean |
isSetUsageWeight(java.lang.String key)
Determine if any usageWeight attribute is for
key is set |
boolean |
isSetWeightDeadline()
Determine if any weightDeadline attribute is set
|
boolean |
isSetWeightDepartment()
Determine if any weightDepartment attribute is set
|
boolean |
isSetWeightJob()
Determine if any weightJob attribute is set
|
boolean |
isSetWeightPriority()
Determine if any weightPriority attribute is set
|
boolean |
isSetWeightProject()
Determine if any weightProject attribute is set
|
boolean |
isSetWeightTicket()
Determine if any weightTicket attribute is set
|
boolean |
isSetWeightTicketsFunctional()
Determine if any weightTicketsFunctional attribute is set
|
boolean |
isSetWeightTicketsOverride()
Determine if any weightTicketsOverride attribute is set
|
boolean |
isSetWeightTicketsShare()
Determine if any weightTicketsShare attribute is set
|
boolean |
isSetWeightUrgency()
Determine if any weightUrgency attribute is set
|
boolean |
isSetWeightUser()
Determine if any weightUser attribute is set
|
boolean |
isSetWeightWaitingTime()
Determine if any weightWaitingTime attribute is set
|
boolean |
isShareFunctionalShares()
Get the value of the shareFunctionalShares attribute.
|
boolean |
isShareOverrideTickets()
Get the value of the shareOverrideTickets attribute.
|
void |
putUsageWeight(java.lang.String key,
double value)
Put the attribute usageWeight for
key . |
void |
removeAllJobLoadAdjustments()
Remove all com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
void |
removeAllUsageWeight()
Remove the attribute usageWeight for all keys.
|
boolean |
removeJobLoadAdjustments(ComplexEntry ajobLoadAdjustments)
Remote a specific com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
ComplexEntry |
removeJobLoadAdjustments(int index)
Remote a com.sun.grid.jgdi.configuration.ComplexEntry attribute at an index.
|
java.lang.Double |
removeUsageWeight(java.lang.String key)
remove the attribute usageWeight for
key . |
void |
setAlgorithm(java.lang.String aAlgorithm)
Set the algorithm attribute.
|
void |
setCompensationFactor(double aCompensationFactor)
Set the compensationFactor attribute.
|
void |
setDefaultDuration(java.lang.String aDefaultDuration)
Set the defaultDuration attribute.
|
void |
setFlushFinishSec(int aFlushFinishSec)
Set the flushFinishSec attribute.
|
void |
setFlushSubmitSec(int aFlushSubmitSec)
Set the flushSubmitSec attribute.
|
void |
setHalflifeDecayList(java.lang.String aHalflifeDecayList)
Set the halflifeDecayList attribute.
|
void |
setHalftime(int aHalftime)
Set the halftime attribute.
|
void |
setJobLoadAdjustments(int index,
ComplexEntry ajobLoadAdjustments)
Set a com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
void |
setLoadAdjustmentDecayTime(java.lang.String aLoadAdjustmentDecayTime)
Set the loadAdjustmentDecayTime attribute.
|
void |
setLoadFormula(java.lang.String aLoadFormula)
Set the loadFormula attribute.
|
void |
setMaxFunctionalJobsToSchedule(int aMaxFunctionalJobsToSchedule)
Set the maxFunctionalJobsToSchedule attribute.
|
void |
setMaxPendingTasksPerJob(int aMaxPendingTasksPerJob)
Set the maxPendingTasksPerJob attribute.
|
void |
setMaxReservation(int aMaxReservation)
Set the maxReservation attribute.
|
void |
setMaxujobs(int aMaxujobs)
Set the maxujobs attribute.
|
void |
setParams(java.lang.String aParams)
Set the params attribute.
|
void |
setPolicyHierarchy(java.lang.String aPolicyHierarchy)
Set the policyHierarchy attribute.
|
void |
setQueueSortMethod(int aQueueSortMethod)
Set the queueSortMethod attribute.
|
void |
setReportPjobTickets(boolean aReportPjobTickets)
Set the reportPjobTickets attribute.
|
void |
setReprioritizeInterval(java.lang.String aReprioritizeInterval)
Set the reprioritizeInterval attribute.
|
void |
setScheddJobInfo(java.lang.String aScheddJobInfo)
Set the scheddJobInfo attribute.
|
void |
setScheduleInterval(java.lang.String aScheduleInterval)
Set the scheduleInterval attribute.
|
void |
setShareFunctionalShares(boolean aShareFunctionalShares)
Set the shareFunctionalShares attribute.
|
void |
setShareOverrideTickets(boolean aShareOverrideTickets)
Set the shareOverrideTickets attribute.
|
void |
setWeightDeadline(double aWeightDeadline)
Set the weightDeadline attribute.
|
void |
setWeightDepartment(double aWeightDepartment)
Set the weightDepartment attribute.
|
void |
setWeightJob(double aWeightJob)
Set the weightJob attribute.
|
void |
setWeightPriority(double aWeightPriority)
Set the weightPriority attribute.
|
void |
setWeightProject(double aWeightProject)
Set the weightProject attribute.
|
void |
setWeightTicket(double aWeightTicket)
Set the weightTicket attribute.
|
void |
setWeightTicketsFunctional(int aWeightTicketsFunctional)
Set the weightTicketsFunctional attribute.
|
void |
setWeightTicketsOverride(int aWeightTicketsOverride)
Set the weightTicketsOverride attribute.
|
void |
setWeightTicketsShare(int aWeightTicketsShare)
Set the weightTicketsShare attribute.
|
void |
setWeightUrgency(double aWeightUrgency)
Set the weightUrgency attribute.
|
void |
setWeightUser(double aWeightUser)
Set the weightUser attribute.
|
void |
setWeightWaitingTime(double aWeightWaitingTime)
Set the weightWaitingTime attribute.
|
equalsCompletely, getName, getParent
void setAlgorithm(java.lang.String aAlgorithm)
aAlgorithm
- the new value for the algorithm attributejava.lang.String getAlgorithm()
boolean isSetAlgorithm()
true
if the algorithm attribute is setvoid setScheduleInterval(java.lang.String aScheduleInterval)
aScheduleInterval
- the new value for the scheduleInterval attributejava.lang.String getScheduleInterval()
boolean isSetScheduleInterval()
true
if the scheduleInterval attribute is setvoid setMaxujobs(int aMaxujobs)
aMaxujobs
- the new value for the maxujobs attributeint getMaxujobs()
boolean isSetMaxujobs()
true
if the maxujobs attribute is setvoid setQueueSortMethod(int aQueueSortMethod)
aQueueSortMethod
- the new value for the queueSortMethod attributeint getQueueSortMethod()
boolean isSetQueueSortMethod()
true
if the queueSortMethod attribute is setjava.util.List<ComplexEntry> getJobLoadAdjustmentsList()
int getJobLoadAdjustmentsCount()
ComplexEntry getJobLoadAdjustments(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removedvoid addJobLoadAdjustments(ComplexEntry ajobLoadAdjustments)
ajobLoadAdjustments
- the new com.sun.grid.jgdi.configuration.ComplexEntry attributevoid setJobLoadAdjustments(int index, ComplexEntry ajobLoadAdjustments)
index
- index of the com.sun.grid.jgdi.configuration.ComplexEntry attributeajobLoadAdjustments
- the new com.sun.grid.jgdi.configuration.ComplexEntry attributevoid removeAllJobLoadAdjustments()
ComplexEntry removeJobLoadAdjustments(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removednull
if
no attribute at this index is storedboolean removeJobLoadAdjustments(ComplexEntry ajobLoadAdjustments)
ajobLoadAdjustments
- the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ComplexEntry attribute has been removedboolean isSetJobLoadAdjustments()
true
if the jobLoadAdjustments attribute is setvoid setLoadAdjustmentDecayTime(java.lang.String aLoadAdjustmentDecayTime)
aLoadAdjustmentDecayTime
- the new value for the loadAdjustmentDecayTime attributejava.lang.String getLoadAdjustmentDecayTime()
boolean isSetLoadAdjustmentDecayTime()
true
if the loadAdjustmentDecayTime attribute is setvoid setLoadFormula(java.lang.String aLoadFormula)
aLoadFormula
- the new value for the loadFormula attributejava.lang.String getLoadFormula()
boolean isSetLoadFormula()
true
if the loadFormula attribute is setvoid setScheddJobInfo(java.lang.String aScheddJobInfo)
aScheddJobInfo
- the new value for the scheddJobInfo attributejava.lang.String getScheddJobInfo()
boolean isSetScheddJobInfo()
true
if the scheddJobInfo attribute is setvoid setFlushSubmitSec(int aFlushSubmitSec)
aFlushSubmitSec
- the new value for the flushSubmitSec attributeint getFlushSubmitSec()
boolean isSetFlushSubmitSec()
true
if the flushSubmitSec attribute is setvoid setFlushFinishSec(int aFlushFinishSec)
aFlushFinishSec
- the new value for the flushFinishSec attributeint getFlushFinishSec()
boolean isSetFlushFinishSec()
true
if the flushFinishSec attribute is setvoid setParams(java.lang.String aParams)
aParams
- the new value for the params attributejava.lang.String getParams()
boolean isSetParams()
true
if the params attribute is setvoid setReprioritizeInterval(java.lang.String aReprioritizeInterval)
aReprioritizeInterval
- the new value for the reprioritizeInterval attributejava.lang.String getReprioritizeInterval()
boolean isSetReprioritizeInterval()
true
if the reprioritizeInterval attribute is setvoid setHalftime(int aHalftime)
aHalftime
- the new value for the halftime attributeint getHalftime()
boolean isSetHalftime()
true
if the halftime attribute is setdouble getDefaultUsageWeight()
Get the default value of the attribute usageWeight.
java.lang.IllegalStateException
- if the default value is not setdouble getUsageWeight(java.lang.String key)
Get the usageWeight attribute for key
.
key
- the keykey
or the
default value of usageWeightjava.util.Set<java.lang.String> getUsageWeightKeys()
key
s which have the attribute usageWeight set.key
sint getUsageWeightCount()
boolean isSetUsageWeight(java.lang.String key)
key
is setkey
- the keytrue
if the usageWeight attribute is setvoid putUsageWeight(java.lang.String key, double value)
Put the attribute usageWeight for key
.
key
- the keyvalue
- the valuejava.lang.Double removeUsageWeight(java.lang.String key)
remove the attribute usageWeight for key
.
key
- The keykey
or null
if the attribute was not defined for key
.void removeAllUsageWeight()
Remove the attribute usageWeight for all keys.
boolean isSetUsageWeight()
true
if the usageWeight attribute is setvoid setCompensationFactor(double aCompensationFactor)
aCompensationFactor
- the new value for the compensationFactor attributedouble getCompensationFactor()
boolean isSetCompensationFactor()
true
if the compensationFactor attribute is setvoid setWeightUser(double aWeightUser)
aWeightUser
- the new value for the weightUser attributedouble getWeightUser()
boolean isSetWeightUser()
true
if the weightUser attribute is setvoid setWeightProject(double aWeightProject)
aWeightProject
- the new value for the weightProject attributedouble getWeightProject()
boolean isSetWeightProject()
true
if the weightProject attribute is setvoid setWeightDepartment(double aWeightDepartment)
aWeightDepartment
- the new value for the weightDepartment attributedouble getWeightDepartment()
boolean isSetWeightDepartment()
true
if the weightDepartment attribute is setvoid setWeightJob(double aWeightJob)
aWeightJob
- the new value for the weightJob attributedouble getWeightJob()
boolean isSetWeightJob()
true
if the weightJob attribute is setvoid setWeightTicketsFunctional(int aWeightTicketsFunctional)
aWeightTicketsFunctional
- the new value for the weightTicketsFunctional attributeint getWeightTicketsFunctional()
boolean isSetWeightTicketsFunctional()
true
if the weightTicketsFunctional attribute is setvoid setWeightTicketsShare(int aWeightTicketsShare)
aWeightTicketsShare
- the new value for the weightTicketsShare attributeint getWeightTicketsShare()
boolean isSetWeightTicketsShare()
true
if the weightTicketsShare attribute is setvoid setWeightTicketsOverride(int aWeightTicketsOverride)
aWeightTicketsOverride
- the new value for the weightTicketsOverride attributeint getWeightTicketsOverride()
boolean isSetWeightTicketsOverride()
true
if the weightTicketsOverride attribute is setvoid setShareOverrideTickets(boolean aShareOverrideTickets)
aShareOverrideTickets
- the new value for the shareOverrideTickets attributeboolean isShareOverrideTickets()
boolean isSetShareOverrideTickets()
true
if the shareOverrideTickets attribute is setvoid setShareFunctionalShares(boolean aShareFunctionalShares)
aShareFunctionalShares
- the new value for the shareFunctionalShares attributeboolean isShareFunctionalShares()
boolean isSetShareFunctionalShares()
true
if the shareFunctionalShares attribute is setvoid setMaxFunctionalJobsToSchedule(int aMaxFunctionalJobsToSchedule)
aMaxFunctionalJobsToSchedule
- the new value for the maxFunctionalJobsToSchedule attributeint getMaxFunctionalJobsToSchedule()
boolean isSetMaxFunctionalJobsToSchedule()
true
if the maxFunctionalJobsToSchedule attribute is setvoid setReportPjobTickets(boolean aReportPjobTickets)
aReportPjobTickets
- the new value for the reportPjobTickets attributeboolean isReportPjobTickets()
boolean isSetReportPjobTickets()
true
if the reportPjobTickets attribute is setvoid setMaxPendingTasksPerJob(int aMaxPendingTasksPerJob)
aMaxPendingTasksPerJob
- the new value for the maxPendingTasksPerJob attributeint getMaxPendingTasksPerJob()
boolean isSetMaxPendingTasksPerJob()
true
if the maxPendingTasksPerJob attribute is setvoid setHalflifeDecayList(java.lang.String aHalflifeDecayList)
aHalflifeDecayList
- the new value for the halflifeDecayList attributejava.lang.String getHalflifeDecayList()
boolean isSetHalflifeDecayList()
true
if the halflifeDecayList attribute is setvoid setPolicyHierarchy(java.lang.String aPolicyHierarchy)
aPolicyHierarchy
- the new value for the policyHierarchy attributejava.lang.String getPolicyHierarchy()
boolean isSetPolicyHierarchy()
true
if the policyHierarchy attribute is setvoid setWeightTicket(double aWeightTicket)
aWeightTicket
- the new value for the weightTicket attributedouble getWeightTicket()
boolean isSetWeightTicket()
true
if the weightTicket attribute is setvoid setWeightWaitingTime(double aWeightWaitingTime)
aWeightWaitingTime
- the new value for the weightWaitingTime attributedouble getWeightWaitingTime()
boolean isSetWeightWaitingTime()
true
if the weightWaitingTime attribute is setvoid setWeightDeadline(double aWeightDeadline)
aWeightDeadline
- the new value for the weightDeadline attributedouble getWeightDeadline()
boolean isSetWeightDeadline()
true
if the weightDeadline attribute is setvoid setWeightUrgency(double aWeightUrgency)
aWeightUrgency
- the new value for the weightUrgency attributedouble getWeightUrgency()
boolean isSetWeightUrgency()
true
if the weightUrgency attribute is setvoid setWeightPriority(double aWeightPriority)
aWeightPriority
- the new value for the weightPriority attributedouble getWeightPriority()
boolean isSetWeightPriority()
true
if the weightPriority attribute is setvoid setMaxReservation(int aMaxReservation)
aMaxReservation
- the new value for the maxReservation attributeint getMaxReservation()
boolean isSetMaxReservation()
true
if the maxReservation attribute is setvoid setDefaultDuration(java.lang.String aDefaultDuration)
aDefaultDuration
- the new value for the defaultDuration attributejava.lang.String getDefaultDuration()
boolean isSetDefaultDuration()
true
if the defaultDuration attribute is setjava.lang.String dump()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.