public class ContextPartitionIdServiceImpl extends Object implements ContextPartitionIdService
Constructor and Description |
---|
ContextPartitionIdServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
allocateId(Object[] partitionKeys) |
void |
clear() |
void |
clearCaches() |
void |
destroy() |
long |
getCount() |
Collection<Integer> |
getIds() |
Object[] |
getPartitionKeys(int id) |
void |
removeId(int contextPartitionId) |
public void clear()
clear
in interface ContextPartitionIdService
public Object[] getPartitionKeys(int id)
getPartitionKeys
in interface ContextPartitionIdService
public int allocateId(Object[] partitionKeys)
allocateId
in interface ContextPartitionIdService
public void removeId(int contextPartitionId)
removeId
in interface ContextPartitionIdService
public Collection<Integer> getIds()
getIds
in interface ContextPartitionIdService
public void destroy()
destroy
in interface ContextPartitionIdService
public void clearCaches()
clearCaches
in interface ContextPartitionIdService
public long getCount()
getCount
in interface ContextPartitionIdService
Copyright © 2005–2018. All rights reserved.