eu.xtreemos.xosd.localallocmgr.attributes.handlers
Class SharingHandler
java.lang.Object
eu.xtreemos.xosd.localallocmgr.attributes.handlers.SharingHandler
- All Implemented Interfaces:
- IAttributeHandler
public class SharingHandler
- extends java.lang.Object
- implements IAttributeHandler
all operations over the sharing attribute. The handler
determines what to do with different sharing policies,
which are compatible, etc.
- Author:
- urosjovanovic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharingHandler
public SharingHandler()
add
public boolean add(IAttribute<?> op1,
IAttribute<?> op2)
- Specified by:
add
in interface IAttributeHandler
canAdd
public boolean canAdd(IAttribute<?> op1,
IAttribute<?> op2)
- Specified by:
canAdd
in interface IAttributeHandler
canDelay
public boolean canDelay(IAttribute<?> op1,
IAttribute<?> op2)
- Specified by:
canDelay
in interface IAttributeHandler
canRemove
public boolean canRemove(IAttribute<?> op1,
IAttribute<?> op2)
- Specified by:
canRemove
in interface IAttributeHandler
delay
public boolean delay(IAttribute<?> op1,
IAttribute<?> op2)
- Specified by:
delay
in interface IAttributeHandler
remove
public boolean remove(IAttribute<?> op1,
IAttribute<?> op2)
- Specified by:
remove
in interface IAttributeHandler