public interface CuratorInventoryManagerStrategy<ContainerClass,InventoryClass>
Modifier and Type | Method and Description |
---|---|
ContainerClass |
addInventory(ContainerClass container,
String inventoryKey,
InventoryClass inventory) |
void |
deadContainer(ContainerClass deadContainer) |
ContainerClass |
deserializeContainer(byte[] bytes) |
InventoryClass |
deserializeInventory(byte[] bytes) |
void |
inventoryInitialized() |
void |
newContainer(ContainerClass newContainer) |
ContainerClass |
removeInventory(ContainerClass container,
String inventoryKey) |
byte[] |
serializeContainer(ContainerClass container) |
byte[] |
serializeInventory(InventoryClass inventory) |
ContainerClass |
updateContainer(ContainerClass oldContainer,
ContainerClass newContainer) |
ContainerClass |
updateInventory(ContainerClass container,
String inventoryKey,
InventoryClass inventory) |
ContainerClass deserializeContainer(byte[] bytes)
byte[] serializeContainer(ContainerClass container)
InventoryClass deserializeInventory(byte[] bytes)
byte[] serializeInventory(InventoryClass inventory)
void newContainer(ContainerClass newContainer)
void deadContainer(ContainerClass deadContainer)
ContainerClass updateContainer(ContainerClass oldContainer, ContainerClass newContainer)
ContainerClass addInventory(ContainerClass container, String inventoryKey, InventoryClass inventory)
ContainerClass updateInventory(ContainerClass container, String inventoryKey, InventoryClass inventory)
ContainerClass removeInventory(ContainerClass container, String inventoryKey)
void inventoryInitialized()
Copyright © 2011–2015. All rights reserved.