org.xcmis.sp.inmemory
Class StorageConfiguration
java.lang.Object
org.xcmis.sp.inmemory.StorageConfiguration
public class StorageConfiguration
- extends Object
- Version:
- $Id$
- Author:
- Andrey Parfonov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageConfiguration
public StorageConfiguration(String id,
String name,
String description,
long maxMem,
long maxItemsNum)
- Parameters:
id - the idname - namedescription - descriptionmaxMem - max memory sizemaxItemsNum - max objects count
getId
public String getId()
- Returns:
- the repository id
setId
public void setId(String id)
- Parameters:
id - storage id
getName
public String getName()
- Returns:
- the repository name
setName
public void setName(String name)
- Parameters:
name - repository name
getMaxItemsNum
public long getMaxItemsNum()
- Returns:
- max number of items allowed to be added in storage
setMaxItemsNum
public void setMaxItemsNum(long maxItemsNum)
- Parameters:
maxItemsNum - max number of items allowed to be added in storage
getMaxMem
public long getMaxMem()
- Returns:
- max memory size to be used for store objects
setMaxMem
public void setMaxMem(long maxMem)
- Parameters:
maxMem - max memory size to be used for store objects
getDescription
public String getDescription()
- Returns:
- the repository description
setDescription
public void setDescription(String description)
- Parameters:
description - description
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.