Interface FragmentationInterceptorMBean
-
- All Known Implementing Classes:
FragmentationInterceptor
public interface FragmentationInterceptorMBeanMBean interface for managing the fragmentation interceptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetExpire()Returns the expiration time for fragments in milliseconds.intgetMaxSize()Returns the maximum size of a fragment in bytes.voidsetExpire(long expire)Sets the expiration time for fragments in milliseconds.voidsetMaxSize(int maxSize)Sets the maximum size of a fragment in bytes.
-
-
-
Method Detail
-
getMaxSize
int getMaxSize()
Returns the maximum size of a fragment in bytes.- Returns:
- The maximum fragment size
-
getExpire
long getExpire()
Returns the expiration time for fragments in milliseconds.- Returns:
- The fragment expiration time
-
setMaxSize
void setMaxSize(int maxSize)
Sets the maximum size of a fragment in bytes.- Parameters:
maxSize- The maximum fragment size
-
setExpire
void setExpire(long expire)
Sets the expiration time for fragments in milliseconds.- Parameters:
expire- The fragment expiration time
-
-