Uses of Class
eu.xtreemos.xosd.localallocmgr.basic.TTElm

Packages that use TTElm
eu.xtreemos.xati.API   
eu.xtreemos.xosd.localallocmgr.basic   
eu.xtreemos.xosd.localallocmgr.basic.manipulators   
eu.xtreemos.xosd.localallocmgr.basic.manipulators.relations   
eu.xtreemos.xosd.localallocmgr.frontend   
eu.xtreemos.xosd.localallocmgr.frontend.utils   
eu.xtreemos.xosd.localallocmgr.frontend.wrapper   
eu.xtreemos.xosd.localallocmgr.migrations   
eu.xtreemos.xosd.localallocmgr.test   
eu.xtreemos.xosd.resallocator   
eu.xtreemos.xosd.reservationmanager.base   
 

Uses of TTElm in eu.xtreemos.xati.API
 

Methods in eu.xtreemos.xati.API that return types with arguments of type TTElm
static java.util.ArrayList<TTElm> XResAllocator.getSelection(java.lang.String __resID, java.util.Hashtable __constraints)
          get all time table elements with selected attributes for a resource
static java.util.ArrayList<TTElm> XResAllocator.selectAvailable(java.lang.String __resourceID, java.lang.Integer __amount)
          selects available from all elements (see selectAvailable(resourceId, amount, from, to) description!)
static java.util.ArrayList<TTElm> XResAllocator.selectAvailableDT(java.lang.String __resourceID, java.lang.Integer __amount, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to)
          selects all already reserved elements within a timetable for some resource (identified by resourceID), where the amount of available resource property CurrentAmount is smaller than MaxAmount by more than given parameter "amount".
 

Uses of TTElm in eu.xtreemos.xosd.localallocmgr.basic
 

Fields in eu.xtreemos.xosd.localallocmgr.basic with type parameters of type TTElm
 java.util.LinkedList<TTElm> TimeTable.table
          can use any data structure one wishes as long as it is compatible with the collection
 

Methods in eu.xtreemos.xosd.localallocmgr.basic that return TTElm
static TTElm TTElmFactory.createBasic(java.util.GregorianCalendar start, java.util.GregorianCalendar end, SharingValues sharingType)
           
 

Methods in eu.xtreemos.xosd.localallocmgr.basic that return types with arguments of type TTElm
static java.util.ArrayList<TTElm> Registry.getElmsAt(long startMs)
           
 

Methods in eu.xtreemos.xosd.localallocmgr.basic with parameters of type TTElm
static void TTElmFactory.addAttribute(TTElm elm, IAttribute<?> attr)
           
static void TTElmFactory.addOwnerInfo(TTElm elm, OwnersInfo info)
           
 boolean TTElm.hasEqualAttributes(TTElm another)
          Returns the info about the question whether two elements have the same attributes (not only by the type but also by the value).
static void Registry.register(TTElm elm)
           
static void TTElmFactory.removeOwnerInfo(TTElm elm, java.lang.String owner)
           
 

Uses of TTElm in eu.xtreemos.xosd.localallocmgr.basic.manipulators
 

Fields in eu.xtreemos.xosd.localallocmgr.basic.manipulators with type parameters of type TTElm
 java.util.LinkedList<TTElm> FreeSlots.free
          holds TTElm objects denoting the free slots.
 

Methods in eu.xtreemos.xosd.localallocmgr.basic.manipulators that return TTElm
private static TTElm TimeTableDefragmenter.createReferentialElm(java.util.ArrayList<TTElm> selection, int endpos)
          returns defragmented object reference or null if something is wrong
 

Methods in eu.xtreemos.xosd.localallocmgr.basic.manipulators that return types with arguments of type TTElm
static java.util.ArrayList<TTElm> TTElmJoin.join(TTElm elm1, TTElm elm2)
          it is expected, that the elm1 starts before or at the same time as the elm2. this can be the default since time table is always sorted from the earliest to the latest element.
static java.util.ArrayList<TTElm> TimeTableSelectByAttribute.select(java.util.ArrayList<TTElm> selection, java.lang.Class<?> attributeType)
           
static java.util.ArrayList<TTElm> TimeTableSelectByAttributeValues.select(java.util.ArrayList<TTElm> selection, java.util.Hashtable<java.lang.Class<?>,java.lang.Object> constraints)
          make an attribute selection out of another selection.
static java.util.ArrayList<TTElm> TimeTableSelectByRelation.select(java.util.ArrayList<TTElm> selection, TTElmRelation relation)
           
static java.util.ArrayList<TTElm> TimeTableSelectByAttribute.select(TimeTable tt, java.lang.Class<?> attributeType)
           
static java.util.ArrayList<TTElm> TimeTableSelectByTime.select(TimeTable tt, java.util.GregorianCalendar from, java.util.GregorianCalendar to)
          selects all elements between from and to, but only if there are such elements that start with from and one that ends with to.
static java.util.ArrayList<TTElm> TimeTableSelectByAttributeValues.select(TimeTable tt, java.util.Hashtable<java.lang.Class<?>,java.lang.Object> constraints)
          returns the set of elements that conform to the constraints (the values of attributes).
static java.util.ArrayList<TTElm> TimeTableSelectByRelation.select(TimeTable tt, TTElmRelation relation)
           
static java.util.ArrayList<TTElm> TimeTableSelectByTime.selectBefore(TimeTable tt, java.util.GregorianCalendar limit)
          selects all elements that end before given time limit.
 

Methods in eu.xtreemos.xosd.localallocmgr.basic.manipulators with parameters of type TTElm
private static boolean TimeTableAdd.add(TimeTable tt, TTElm newelm)
          when the join operation returns the array of elements the new elements need to be identified and if new one is introduced, it needs to be added.
static boolean TimeTableAdd.addElm(TimeTable tt, TTElm newelm)
           
private static boolean TTElmJoin.checkConformance(TTElm elm)
          checks whether the time table element has all the needed attributes.
static boolean TimeTableSelectByAttributeValues.conformsTo(TTElm elm, java.util.Hashtable<java.lang.Class<?>,java.lang.Object> constraints)
          check if all constraints are met with the given timetable element.
static boolean TimeTableDelay.delayWholeElement(TimeTable tt, TTElm reference, int miliseconds)
           
private static boolean TimeTableAdd.endsBefore(TTElm stored, java.util.GregorianCalendar newStart)
           
private static long TTElmJoin.endTimeInMs(TTElm elm)
           
private static boolean TimeTableAdd.hasIntersection(TTElm stored, TTElm newelm, java.util.GregorianCalendar newStart)
           
private static boolean TimeTableAdd.isBefore(TTElm stored, java.util.GregorianCalendar newStart)
          check if the ttelm starts before the new element
private static boolean TimeTableAdd.isCompleteBefore(TTElm stored, TTElm newelm)
           
static java.util.ArrayList<TTElm> TTElmJoin.join(TTElm elm1, TTElm elm2)
          it is expected, that the elm1 starts before or at the same time as the elm2. this can be the default since time table is always sorted from the earliest to the latest element.
static boolean TimeTableRemove.remove(TimeTable tt, TTElm byAttribs)
          remove a giving element not my reference but by the time attributes and all timetable elements that are proper subsets of this interval should remove named attributes, the empty ones being removed from the timetable.
static boolean TimeTableRemove.removeObject(TimeTable tt, TTElm forRemovale)
          removes the whole element from the timetable
private static long TTElmJoin.startTimeInMs(TTElm elm)
           
 

Method parameters in eu.xtreemos.xosd.localallocmgr.basic.manipulators with type arguments of type TTElm
private static TTElm TimeTableDefragmenter.createReferentialElm(java.util.ArrayList<TTElm> selection, int endpos)
          returns defragmented object reference or null if something is wrong
private static int TimeTableDefragmenter.defragSelection(java.util.ArrayList<TTElm> selection, TimeTable tt)
           
private static int TimeTableDefragmenter.endPosDefragmented(java.util.ArrayList<TTElm> selection)
          returns the position of the last element in the selection that has the same attributes as the first element. returns -1 if no such element exists.
private  void FreeSlots.findFree(java.util.LinkedList<TTElm> src)
          returns the free slots from the whole stored interval
private  void FreeSlots.findFree(java.util.LinkedList<TTElm> src, java.util.GregorianCalendar from, java.util.GregorianCalendar to)
          return free slots between the given intervals.
static boolean TimeTableRemove.remove(TimeTable tt, java.util.ArrayList<TTElm> byAttribs)
          removes either all elements or none, removing by attribute
static java.util.ArrayList<TTElm> TimeTableSelectByAttribute.select(java.util.ArrayList<TTElm> selection, java.lang.Class<?> attributeType)
           
static java.util.ArrayList<TTElm> TimeTableSelectByAttributeValues.select(java.util.ArrayList<TTElm> selection, java.util.Hashtable<java.lang.Class<?>,java.lang.Object> constraints)
          make an attribute selection out of another selection.
static java.util.ArrayList<TTElm> TimeTableSelectByRelation.select(java.util.ArrayList<TTElm> selection, TTElmRelation relation)
           
 

Uses of TTElm in eu.xtreemos.xosd.localallocmgr.basic.manipulators.relations
 

Methods in eu.xtreemos.xosd.localallocmgr.basic.manipulators.relations with parameters of type TTElm
 boolean WithinTimeLimitRelation.isRelated(TTElm elm)
           
 boolean AvailableCheckRelation.isRelated(TTElm elm)
           
 boolean TTElmRelation.isRelated(TTElm elm)
           
 

Uses of TTElm in eu.xtreemos.xosd.localallocmgr.frontend
 

Fields in eu.xtreemos.xosd.localallocmgr.frontend declared as TTElm
protected  TTElm TTElmRequest.ttelm
           
 

Methods in eu.xtreemos.xosd.localallocmgr.frontend that return TTElm
 TTElm TTElmRequest.getTtelm()
           
 

Constructors in eu.xtreemos.xosd.localallocmgr.frontend with parameters of type TTElm
TTElmRequest(java.lang.String resourceID, TTElm ttelm)
           
 

Uses of TTElm in eu.xtreemos.xosd.localallocmgr.frontend.utils
 

Methods in eu.xtreemos.xosd.localallocmgr.frontend.utils with parameters of type TTElm
static java.lang.String ExportToGoogleCalendar.exportTTElm(TTElm elm, java.lang.String what)
          event = { :title=>'CPU1, 100, EXCLUSIVE', :content=>'CPU1 reserved 50, EXCLUSIVE', :author=>'user', :email=>'user@somewhere.org', :where=>'XtreemOS Server', :startTime=>'2009-02-05T15:00:00.000Z', :endTime=>'2009-02-05T17:00:00.000Z'} g.new_event(event)
 

Constructors in eu.xtreemos.xosd.localallocmgr.frontend.utils with parameters of type TTElm
TTElmRequestAdd(java.lang.String resourceID, TTElm ttelm)
           
TTElmRequestDelay(java.lang.String resourceID, TTElm ttelm)
           
TTElmRequestEcho(java.lang.String resourceID, TTElm ttelm)
           
TTElmRequestRemove(java.lang.String resourceID, TTElm ttelm)
           
TTElmRequestRemoveObject(java.lang.String resourceID, TTElm ttelm)
           
 

Uses of TTElm in eu.xtreemos.xosd.localallocmgr.frontend.wrapper
 

Methods in eu.xtreemos.xosd.localallocmgr.frontend.wrapper that return types with arguments of type TTElm
 java.util.ArrayList<TTElm> FrontendWrapper.getSelection(java.lang.String resID, java.util.Hashtable<java.lang.Class<?>,java.lang.Object> constraints)
          get all time table elements with selected attributes for a resource. the constraints hashatable holds the class of the constraint and the value of that constraint.
 java.util.ArrayList<TTElm> FrontendWrapper.selectAvailable(java.lang.String resourceID, int amount)
          selects available from all elements (see selectAvailable(resourceId, amount, from, to) description!)
 java.util.ArrayList<TTElm> FrontendWrapper.selectAvailable(java.lang.String resourceID, int amount, java.util.GregorianCalendar from, java.util.GregorianCalendar to)
          TODO: add argument for the property selection!!!
 

Uses of TTElm in eu.xtreemos.xosd.localallocmgr.migrations
 

Methods in eu.xtreemos.xosd.localallocmgr.migrations with parameters of type TTElm
private  void TimeTableState4Add.addelement(TTElm original)
           
private  void TimeTableState4Add.determineAffectedTTelms(TTElm newelm)
           
 

Constructors in eu.xtreemos.xosd.localallocmgr.migrations with parameters of type TTElm
TimeTableState4Add(TimeTable tt, TTElm newelm)
           
TimeTableState4Remove(TimeTable tt, TTElm forRemovale)
           
TimeTableState4RemoveByAttrib(TimeTable tt, TTElm byAttrib)
          all elements that are within the time limits of the byAttrib element come into question.
 

Uses of TTElm in eu.xtreemos.xosd.localallocmgr.test
 

Methods in eu.xtreemos.xosd.localallocmgr.test that return types with arguments of type TTElm
private static java.util.ArrayList<TTElm> TTElmTest.complexishJoint()
          two sequential entries in the table, the third one starts during first one and ends during second one. result should give four elements, first one with owner1, second and third are aggregated and the last one is again with the owner2.
private static java.util.ArrayList<TTElm> TTElmTest.complexishJoint2()
          sequential elements are used as a basis, an new one is added, which is a proper superset of both of them. should produce, two aggregated elements (the original ones + this one) and the remaining parts.
static java.util.ArrayList<TTElm> TTElmTest.complexishJoint3()
          three elements, with time gap. adding new one, that starts before both of them, but ends somewhere in the middle of the third one.
private static java.util.ArrayList<TTElm> FreeSlotsTest.generateElms()
           
static java.util.ArrayList<TTElm> TTElmTest.isWrongAdd()
          create an element, add new one that starts at the same time as the first one, ends at the half of it.
private static java.util.ArrayList<TTElm> TTElmTest.simpleDisjoitTest()
           
private static java.util.ArrayList<TTElm> TTElmTest.simpleJoint()
          test where the second element is added inside the first one (or the element above the existing) should produce 3 elms, first one with elm1 info, second one with aggregated info and the third one with elm1 info
private static java.util.ArrayList<TTElm> TTElmTest.simpleSubsetTest()
          should create two elements, first one holding aggregated info, second one just the info from the first one
private static java.util.ArrayList<TTElm> TTElmTest.simpleSubsetTest2()
          should create two elms, the second holding aggregated info, the first one just the info from the first one
static java.util.ArrayList<TTElm> TTElmTest.sneakyFailureAdd()
          set three different elements, one after another, with gaps, set the first two as mutual and the third one as exclusive. than add the fourth element over all of them and the process must fail.
 

Uses of TTElm in eu.xtreemos.xosd.resallocator
 

Methods in eu.xtreemos.xosd.resallocator that return types with arguments of type TTElm
 java.util.ArrayList<TTElm> ResAllocator.getSelection(java.lang.String resID, java.util.Hashtable constraints)
          get all time table elements with selected attributes for a resource.
 java.util.ArrayList<TTElm> ResAllocator.selectAvailable(java.lang.String resourceID, java.lang.Integer amount)
          selects available from all elements (see ResAllocator.selectAvailableDT(String, Integer, GregorianCalendar, GregorianCalendar) description!)
 java.util.ArrayList<TTElm> ResAllocator.selectAvailableDT(java.lang.String resourceID, java.lang.Integer amount, java.util.GregorianCalendar from, java.util.GregorianCalendar to)
          selects all already reserved elements within a timetable for some resource (identified by resourceID), where the amount of available resource property CurrentAmount is smaller than MaxAmount by more than given parameter "amount".
 

Uses of TTElm in eu.xtreemos.xosd.reservationmanager.base
 

Fields in eu.xtreemos.xosd.reservationmanager.base with type parameters of type TTElm
 java.util.ArrayList<TTElm> ReservationSlot.info
          Array of elements with the information about the time table elements with a given id on a location.
 

Constructors in eu.xtreemos.xosd.reservationmanager.base with parameters of type TTElm
ReservationSlotBasicInfo(TTElm elm)
          Deprecated. Extract all needed info directly from the TTElm itself.