Index

A C E F G H I M P R S T V 
All Classes and Interfaces|All Packages

A

addBreedingPasture(Herd<Breed>, Class<Breed>, PastureListener<Breed>) - Method in interface com.playtika.shepherd.common.pull.Farm
Here we come to Farm with our Pasture to graze specific Breeding Herd on it.
addBreedingPasture(String, Class<Breed>, PastureListener<Breed>) - Method in interface com.playtika.shepherd.common.push.Farm
Here we come to Farm with our Pasture to graze specific Breeding Herd on it.
addPasture(Herd<ByteBuffer>, PastureListener<ByteBuffer>) - Method in interface com.playtika.shepherd.common.pull.Farm
Here we come to Farm with our Pasture to graze specific Herd on it.
addPasture(String, PastureListener<ByteBuffer>) - Method in interface com.playtika.shepherd.common.push.Farm
Here we come to Farm with our Pasture to graze specific Herd on it.
assigned(List<Breed>, AssignmentData) - Method in interface com.playtika.shepherd.common.PastureListener
Invoked when new subpopulation assigned to this pasture
AssignmentData - Record Class in com.playtika.shepherd.common
 
AssignmentData(int, long, String, int, boolean) - Constructor for record class com.playtika.shepherd.common.AssignmentData
Creates an instance of a AssignmentData record class.
assignmentSize() - Method in record class com.playtika.shepherd.common.AssignmentData
Returns the value of the assignmentSize record component.

C

cleanup() - Method in interface com.playtika.shepherd.common.PastureListener
Invoked on first phase of rebalance
close(Duration) - Method in interface com.playtika.shepherd.common.pull.Pasture
 
close(Duration) - Method in interface com.playtika.shepherd.common.push.Pasture
 
com.playtika.shepherd.common - package com.playtika.shepherd.common
 
com.playtika.shepherd.common.pull - package com.playtika.shepherd.common.pull
 
com.playtika.shepherd.common.push - package com.playtika.shepherd.common.push
 

E

equals(Object) - Method in record class com.playtika.shepherd.common.AssignmentData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.playtika.shepherd.common.pull.Herd.Population
Indicates whether some other object is "equal to" this one.

F

Farm - Interface in com.playtika.shepherd.common.pull
Farm has many herds distributed evenly by pastures
Farm - Interface in com.playtika.shepherd.common.push
Farm has many herds distributed evenly by pastures

G

generation() - Method in record class com.playtika.shepherd.common.AssignmentData
Returns the value of the generation record component.
getName() - Method in interface com.playtika.shepherd.common.pull.Herd
 
getPopulation(int) - Method in interface com.playtika.shepherd.common.pull.Herd
 
getShepherd() - Method in interface com.playtika.shepherd.common.pull.Pasture
 
getShepherd() - Method in interface com.playtika.shepherd.common.push.Pasture
 

H

hashCode() - Method in record class com.playtika.shepherd.common.AssignmentData
Returns a hash code value for this object.
hashCode() - Method in record class com.playtika.shepherd.common.pull.Herd.Population
Returns a hash code value for this object.
Herd<Breed> - Interface in com.playtika.shepherd.common.pull
Provides population
Herd.Population<Breed> - Record Class in com.playtika.shepherd.common.pull
 

I

isLeader() - Method in record class com.playtika.shepherd.common.AssignmentData
Returns the value of the isLeader record component.

M

memberId() - Method in record class com.playtika.shepherd.common.AssignmentData
Returns the value of the memberId record component.

P

Pasture - Interface in com.playtika.shepherd.common.pull
 
Pasture<Breed> - Interface in com.playtika.shepherd.common.push
 
PastureListener<Breed> - Interface in com.playtika.shepherd.common
`cleanup` and `assign` divided by global sync barrier None `assign` will be called until all `cleanup` finished
population() - Method in record class com.playtika.shepherd.common.pull.Herd.Population
Returns the value of the population record component.
Population(Breed[], long) - Constructor for record class com.playtika.shepherd.common.pull.Herd.Population
Creates an instance of a Population record class.
populationVersion() - Method in record class com.playtika.shepherd.common.AssignmentData
Returns the value of the populationVersion record component.

R

rebalanceHerd() - Method in interface com.playtika.shepherd.common.pull.Shepherd
 
reset() - Method in interface com.playtika.shepherd.common.pull.Herd
 

S

setPopulation(Breed[], long) - Method in interface com.playtika.shepherd.common.push.Shepherd
 
Shepherd - Interface in com.playtika.shepherd.common.pull
Allows to rebalance population among pastures
Shepherd<Breed> - Interface in com.playtika.shepherd.common.push
Allows to set herd population
start() - Method in interface com.playtika.shepherd.common.pull.Pasture
 
start() - Method in interface com.playtika.shepherd.common.push.Pasture
Set population via Shepherd before calling this method

T

toString() - Method in record class com.playtika.shepherd.common.AssignmentData
Returns a string representation of this record class.
toString() - Method in record class com.playtika.shepherd.common.pull.Herd.Population
Returns a string representation of this record class.

V

version() - Method in record class com.playtika.shepherd.common.pull.Herd.Population
Returns the value of the version record component.
A C E F G H I M P R S T V 
All Classes and Interfaces|All Packages